summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdhdl.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-03-27 14:06:05 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-03-27 14:06:05 +0000
commit80204d8fcf35c14168a75765360eb61977653162 (patch)
treebef084bbf17b8e0d28743b03ea7213aafeae831e /svx/source/svdraw/svdhdl.cxx
parent45804b0395ec0f8369224229e41f1b099c4754d3 (diff)
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'svx/source/svdraw/svdhdl.cxx')
-rw-r--r--svx/source/svdraw/svdhdl.cxx23
1 files changed, 20 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx
index 0a543e19cbc4..a5df2b1db589 100644
--- a/svx/source/svdraw/svdhdl.cxx
+++ b/svx/source/svdraw/svdhdl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdhdl.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: aw $ $Date: 2002-11-28 12:13:56 $
+ * last change: $Author: hr $ $Date: 2003-03-27 15:04:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -660,8 +660,25 @@ B2dIAObject* SdrHdl::CreateMarkerObject(B2dIAOManager* pMan, Point aPos, BitmapC
sal_Bool bIsHighContrast(rStyleSettings.GetHighContrastMode());
// support bigger sizes
+ sal_Bool bForceBiggerSize(sal_False);
+
+ if(pHdlList->GetHdlSize() > 3)
+ {
+ bForceBiggerSize = sal_True;
+ }
+
// #101928# ...for high contrast, too.
- if(pHdlList->GetHdlSize() > 3 || bIsHighContrast)
+ if(!bForceBiggerSize && bIsHighContrast)
+ {
+ // #107925#
+ // ...but not for anchors, else they will not blink when activated
+ if(Anchor != eKindOfMarker && AnchorTR != eKindOfMarker)
+ {
+ bForceBiggerSize = sal_True;
+ }
+ }
+
+ if(bForceBiggerSize)
{
eKindOfMarker = GetNextBigger(eKindOfMarker);
}