summaryrefslogtreecommitdiffstats
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-13 20:09:49 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-14 07:58:28 -0600
commit2a0a80a1385544cbb8d9f6b3ffc22f1c0afeb4ed (patch)
treeb802a0844ce7a014cc48201aae955b5400cbc458 /svx/source/tbxctrls
parentsal_Bool->bool (diff)
downloadcore-2a0a80a1385544cbb8d9f6b3ffc22f1c0afeb4ed.tar.gz
core-2a0a80a1385544cbb8d9f6b3ffc22f1c0afeb4ed.zip
protect macosx against the HiDPI hacks
Change-Id: Ie79abaffef72cbdf3006314c56590ca1e10cf949
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 d54ec9d30b02..df8d31eb87dd 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1274,7 +1274,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++)
@@ -1285,7 +1285,7 @@ SvxFrameWindow_Impl::SvxFrameWindow_Impl( sal_uInt16 nId, const Reference< XFram
aImgList.ReplaceImage(rImageName, Image(b));
}
}
-
+#endif
/*
* 1 2 3 4
* -------------------------------------