desktop/source/lib/init.cxx      |    1 +
 sfx2/source/control/unoctitm.cxx |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 0090e414341f7ca9c70a2191a53d5b8fc855f4c8
Author:     Aron Budea <aron.bu...@collabora.com>
AuthorDate: Thu Mar 10 06:30:23 2022 +0100
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Mon Mar 14 14:10:19 2022 +0100

    Send Calc Insert Headers and Footers state change to LOK
    
    Change-Id: Id51b4cf1eb962f22ee1e381873f4670789675525
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131293
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index ca65ec4ae2ca..b3b506043ba6 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3089,6 +3089,7 @@ static void doc_iniUnoCommands ()
         OUString(".uno:NumberFormatPercent"),
         OUString(".uno:NumberFormatDecimal"),
         OUString(".uno:NumberFormatDate"),
+        OUString(".uno:EditHeaderAndFooter"),
         OUString(".uno:FrameLineColor"),
         OUString(".uno:SortAscending"),
         OUString(".uno:SortDescending"),
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 7bc371cc78d3..2b55f8d202be 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1217,6 +1217,7 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, 
SfxViewFrame* pViewFra
              aEvent.FeatureURL.Path == "ResetAttributes" ||
              aEvent.FeatureURL.Path == "IncrementIndent" ||
              aEvent.FeatureURL.Path == "DecrementIndent" ||
+             aEvent.FeatureURL.Path == "EditHeaderAndFooter" ||
              aEvent.FeatureURL.Path == "NumberFormatDecDecimals" ||
              aEvent.FeatureURL.Path == "NumberFormatIncDecimals")
     {

Reply via email to