Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Pushed, Thanks

Norbert


On Sat, Nov 6, 2010 at 9:06 PM, Joseph Powers <jpowers27@cox.net> wrote:
Man, you forget to delete two lines of code and someone complains...
Sorry about that, (julien, I hope this makes you happy).
Joe P.
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx
b/svx/source/tbxctrls/fontworkgallery.cxx
index 6b72567..ec222b0 100644
--- a/svx/source/tbxctrls/fontworkgallery.cxx
+++ b/svx/source/tbxctrls/fontworkgallery.cxx
@@ -382,8 +382,6 @@ FontWorkAlignmentWindow::FontWorkAlignmentWindow(
svt::ToolboxController& rContr
 , maImgAlgin5( SVX_RES( IMG_FONTWORK_ALIGN_STRETCH_16 ) )
 , msFontworkAlignment( RTL_CONSTASCII_USTRINGPARAM(
".uno:FontworkAlignment" ) )
 {
-    bool bHighContrast =
GetSettings().GetStyleSettings().GetHighContrastMode();
-
     SetHelpId( HID_POPUP_FONTWORK_ALIGN );
     SetSelectHdl( LINK( this, FontWorkAlignmentWindow, SelectHdl ) );

@@ -439,8 +437,6 @@ void FontWorkAlignmentWindow::DataChanged( const
DataChangedEvent& rDCEvt )

     if( ( rDCEvt.GetType() == DATACHANGED_SETTINGS ) && ( rDCEvt.GetFlags()
& SETTINGS_STYLE ) )
     {
-        bool bHighContrast =
GetSettings().GetStyleSettings().GetHighContrastMode();
-
         appendEntry( 0, String( SVX_RES( STR_ALIGN_LEFT    ) ), maImgAlgin1
);
         appendEntry( 1, String( SVX_RES( STR_ALIGN_CENTER  ) ), maImgAlgin2
);
         appendEntry( 2, String( SVX_RES( STR_ALIGN_RIGHT   ) ), maImgAlgin3
);

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.