summaryrefslogtreecommitdiffstats
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-03-11 15:43:48 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-03-11 15:44:26 -0500
commit58fae0f715433a72d814584d97a1368f8a1b62d2 (patch)
tree27a7505bda8238d6d0e4067e23969b61aba01932 /svx/source/tbxctrls
parentforce DPIScaleFactor to 1 on Mac (diff)
downloadcore-58fae0f715433a72d814584d97a1368f8a1b62d2.tar.gz
core-58fae0f715433a72d814584d97a1368f8a1b62d2.zip
remove osolete ifdef
now that the ScaleDPI is forced to 1 on mac there is no need for these ifdef Change-Id: I0ca3bc301b63f5f4c7d1eb36f27bc9b6ab41af29
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 5a7cec23a155..3d47566f74c4 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1275,7 +1275,7 @@ SvxFrameWindow_Impl::SvxFrameWindow_Impl( sal_uInt16 nId, const Reference< XFram
BindListener();
AddStatusListener(OUString(".uno:BorderReducedMode"));
aImgList = ImageList( SVX_RES( RID_SVXIL_FRAME ) );
-#ifndef MACOSX
+
if( pParentWindow->GetDPIScaleFactor() > 1 )
{
for (short i = 0; i < aImgList.GetImageCount(); i++)
@@ -1286,7 +1286,7 @@ SvxFrameWindow_Impl::SvxFrameWindow_Impl( sal_uInt16 nId, const Reference< XFram
aImgList.ReplaceImage(rImageName, Image(b));
}
}
-#endif
+
/*
* 1 2 3 4
* -------------------------------------