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

New commits:
commit b456297ced6f5111cf311556a2904cbb27598289
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:59:32 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>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131543
    Tested-by: Jenkins
    Reviewed-by: Aron Budea <aron.bu...@collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index c8fd1be5ce88..933a119d696d 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3050,6 +3050,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 e7da4f4274f6..dde7c4cc6e6b 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1102,6 +1102,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