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

New commits:
commit 08bc6c1101b30b064119cdabf0a6d60e39cb321a
Author:     Aron Budea <aron.bu...@collabora.com>
AuthorDate: Thu Mar 10 06:30:23 2022 +0100
Commit:     Aron Budea <aron.bu...@collabora.com>
CommitDate: Mon Mar 14 19:51:08 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>
    (cherry picked from commit 0090e414341f7ca9c70a2191a53d5b8fc855f4c8)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131476
    Tested-by: Aron Budea <aron.bu...@collabora.com>
    Reviewed-by: Aron Budea <aron.bu...@collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 183578df411a..18259e045415 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3057,6 +3057,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 44350d96ab9a..f7b6ecefba0d 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1107,6 +1107,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