[Libreoffice-commits] .: svx/source

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Mon Nov 22 01:55:10 PST 2010


 svx/source/dialog/svxruler.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 1e7c26abcafca08c0a41b92c807cdb07aab15d87
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date:   Mon Nov 22 10:53:22 2010 +0100

    Fix for i#115681
    
    Some missing condition before actually draggging the border.

diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index cef8059..61dbd9a 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;


More information about the Libreoffice-commits mailing list