[Libreoffice-commits] core.git: desktop/source sfx2/source

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Tue Mar 31 20:49:31 UTC 2020


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

New commits:
commit 908d3dc957c8ff119e55f91c464212266fd73d66
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Tue Mar 31 20:27:00 2020 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Mar 31 22:48:59 2020 +0200

    listen for and broadcast FrameLineColor state changes.
    
    Change-Id: I53efdcc4c5a3871761c4feffb079751286d6fbd6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91401
    Tested-by: Jenkins
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 706d826d6722..c54fb771080c 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2646,6 +2646,7 @@ static void doc_iniUnoCommands ()
         OUString(".uno:NumberFormatCurrency"),
         OUString(".uno:NumberFormatPercent"),
         OUString(".uno:NumberFormatDate"),
+        OUString(".uno:FrameLineColor"),
         OUString(".uno:SortAscending"),
         OUString(".uno:SortDescending"),
         OUString(".uno:TrackChanges"),
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 4d8bff24f497..c2aa21ad2191 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1037,7 +1037,8 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
              aEvent.FeatureURL.Path == "BackgroundColor" ||
              aEvent.FeatureURL.Path == "CharBackColor" ||
              aEvent.FeatureURL.Path == "Color" ||
-             aEvent.FeatureURL.Path == "FontColor")
+             aEvent.FeatureURL.Path == "FontColor" ||
+             aEvent.FeatureURL.Path == "FrameLineColor")
     {
         sal_Int32 nColor = -1;
         aEvent.State >>= nColor;


More information about the Libreoffice-commits mailing list