[Libreoffice] High-Contrast Cleanup

Norbert Thiebaud nthiebaud at gmail.com
Sat Nov 6 20:32:36 PDT 2010


Pushed, Thanks

Norbert


On Sat, Nov 6, 2010 at 9:06 PM, Joseph Powers <jpowers27 at 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>


More information about the LibreOffice mailing list