diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/utlui/content.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/uibase/utlui/viewlayoutctrl.cxx | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/core/uibase/utlui/content.cxx b/sw/source/core/uibase/utlui/content.cxx index 9ffcf86c15f9..2204074ce791 100644 --- a/sw/source/core/uibase/utlui/content.cxx +++ b/sw/source/core/uibase/utlui/content.cxx @@ -1563,7 +1563,6 @@ void SwContentTree::Display( bool bActive ) { aEntryImages = ImageList(SW_RES(IMG_NAVI_ENTRYBMP)); -#ifndef MACSOX if ( GetDPIScaleFactor() > 1 ) { for (short i = 0; i < aEntryImages.GetImageCount(); i++) @@ -1575,7 +1574,6 @@ void SwContentTree::Display( bool bActive ) aEntryImages.ReplaceImage(rImageName, Image(b)); } } -#endif bIsImageListInitialized = true; } // First read the selected entry to select it later again if necessary diff --git a/sw/source/core/uibase/utlui/viewlayoutctrl.cxx b/sw/source/core/uibase/utlui/viewlayoutctrl.cxx index 18a92123d1d0..798213d5471f 100644 --- a/sw/source/core/uibase/utlui/viewlayoutctrl.cxx +++ b/sw/source/core/uibase/utlui/viewlayoutctrl.cxx @@ -52,7 +52,6 @@ SwViewLayoutControl::SwViewLayoutControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, mpImpl->maImageBookMode = Image( SW_RES(IMG_VIEWLAYOUT_BOOKMODE) ); mpImpl->maImageBookMode_Active = Image( SW_RES(IMG_VIEWLAYOUT_BOOKMODE_ACTIVE) ); -#ifndef MACOSX if ( rStb.GetDPIScaleFactor() > 1) { Image arr[6] = {mpImpl->maImageSingleColumn, mpImpl->maImageSingleColumn_Active, @@ -76,7 +75,7 @@ SwViewLayoutControl::SwViewLayoutControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, mpImpl->maImageBookMode = arr[4]; mpImpl->maImageBookMode_Active = arr[5]; } -#endif + } SwViewLayoutControl::~SwViewLayoutControl() |