summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-22 10:53:22 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-22 10:57:06 +0100
commitf7df6cf55618d2dcb6778666990e38816b6c5c22 (patch)
tree943381c588fc47522fdb2ac556b725b6364a97c7 /svx
parent07117ad2a4c7cf9b09bc6d7636df81ad10c0bed0 (diff)
Fix for i#115681
Some missing condition before actually draggging the border.
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/svxruler.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index 9f3cb23b2e..c1fc7880b9 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -2780,7 +2780,8 @@ void SvxRuler::EvalModifier()
const RulerType eType = GetDragType();
nDragType = DRAG_OBJECT_SIZE_PROPORTIONAL;
if( RULER_TYPE_TAB == eType ||
- ( ( RULER_TYPE_BORDER == eType || RULER_TYPE_MARGIN1 == eType ) &&
+ ( ( RULER_TYPE_BORDER == eType || RULER_TYPE_MARGIN1 == eType ||
+ RULER_TYPE_MARGIN2 == eType ) &&
pColumnItem ) )
PrepareProportional_Impl(eType);
break;