summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls/xmlsecctrl.cxx
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/stbctrls/xmlsecctrl.cxx
parentbb39bea2e63ec04e2cde88121d09c88e451b340e (diff)
protect macosx against the HiDPI hacks
Change-Id: Ie79abaffef72cbdf3006314c56590ca1e10cf949
Diffstat (limited to 'svx/source/stbctrls/xmlsecctrl.cxx')
-rw-r--r--svx/source/stbctrls/xmlsecctrl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/stbctrls/xmlsecctrl.cxx b/svx/source/stbctrls/xmlsecctrl.cxx
index 46ea35b8b167..1ecfd521aaa4 100644
--- a/svx/source/stbctrls/xmlsecctrl.cxx
+++ b/svx/source/stbctrls/xmlsecctrl.cxx
@@ -61,6 +61,7 @@ XmlSecStatusBarControl::XmlSecStatusBarControl( sal_uInt16 _nSlotId, sal_uInt16
mpImpl->maImageBroken = Image( SVX_RES( RID_SVXBMP_SIGNET_BROKEN ) );
mpImpl->maImageNotValidated = Image( SVX_RES( RID_SVXBMP_SIGNET_NOTVALIDATED ) );
+#ifndef MACOSX
if (_rStb.GetDPIScaleFactor() > 1)
{
Image arr[3] = {mpImpl->maImage, mpImpl->maImageBroken, mpImpl->maImageNotValidated};
@@ -76,6 +77,7 @@ XmlSecStatusBarControl::XmlSecStatusBarControl( sal_uInt16 _nSlotId, sal_uInt16
mpImpl->maImageBroken = arr[1];
mpImpl->maImageNotValidated = arr[2];
}
+#endif
}