summaryrefslogtreecommitdiff
path: root/svx/source/dialog
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:54:55 +0100
commit1e7c26abcafca08c0a41b92c807cdb07aab15d87 (patch)
treecd985e8a9e64b4516672aa47b5cd132776a87cc9 /svx/source/dialog
parent5dfa2bcf6f4a7699c2acae87caa96de739f82636 (diff)
Fix for i#115681
Some missing condition before actually draggging the border.
Diffstat (limited to 'svx/source/dialog')
-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 cef80596c5..61dbd9a9a7 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -2778,7 +2778,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;