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

Caolán McNamara caolanm at redhat.com
Mon Jun 10 03:30:36 PDT 2013


 sfx2/source/sidebar/Theme.cxx                      |    5 +----
 svx/source/sidebar/paragraph/ParaPropertyPanel.src |    4 ++--
 2 files changed, 3 insertions(+), 6 deletions(-)

New commits:
commit 09b054fc4c2a8d9ee2a6ed28194b828d8ff7dd0f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jun 10 11:29:03 2013 +0100

    update graphicrepository links for new icon-theme locations
    
    Change-Id: I8de2dbfa6eb98a9b879af362b850c487ab28fa7f

diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx
index a234215..967adc7 100644
--- a/sfx2/source/sidebar/Theme.cxx
+++ b/sfx2/source/sidebar/Theme.cxx
@@ -363,10 +363,7 @@ void Theme::UpdateTheme (void)
             Any(A2S("private:graphicrepository/sfx2/res/closedoc.png")));
         setPropertyValue(
             maPropertyIdToNameMap[Image_CloseIndicator],
-            Any(
-                mbIsHighContrastMode
-                    ? A2S("private:graphicrepository/res/commandimagelist/lch_decrementlevel.png")
-                    : A2S("private:graphicrepository/res/commandimagelist/lc_decrementlevel.png")));
+            Any(A2S("private:graphicrepository/cmd/lc_decrementlevel.png")));
         setPropertyValue(
             maPropertyIdToNameMap[Image_ToolBoxItemSeparator],
             Any(
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.src b/svx/source/sidebar/paragraph/ParaPropertyPanel.src
index 6db5c75..fa6009f 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.src
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.src
@@ -199,7 +199,7 @@ Control RID_SIDEBAR_PARA_PANEL
                 defined for Draw/Impress.  It has to be defined in
                 GenericCommancs.xcu to be recognized. See issue 122446 for more details.
                 */
-                Command = "private:graphicrepository/res/commandimagelist/sc_paraspaceincrease.png";
+                Command = "private:graphicrepository/cmd/sc_paraspaceincrease.png";
             };
             ToolBoxItem
             {
@@ -209,7 +209,7 @@ Control RID_SIDEBAR_PARA_PANEL
                 /** See above or issue 122446 why the following line is not
                     Command = ".uno:ParaspaceDecrease";
                 */
-                Command = "private:graphicrepository/res/commandimagelist/sc_paraspacedecrease.png";
+                Command = "private:graphicrepository/cmd/sc_paraspacedecrease.png";
             };
         };
     };


More information about the Libreoffice-commits mailing list