[Libreoffice-commits] core.git: svx/source

Miklos Vajna vmiklos at collabora.co.uk
Wed Jun 17 00:13:09 PDT 2015


 svx/source/svdraw/svddrgv.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit ce88e6f728b1bdeb72f2721b824f786f12b9d5c4
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Jun 17 09:11:57 2015 +0200

    svx: nHdlAnzMerk -> nSavedHdlCount
    
    Assuming "anzahl merken".
    
    Change-Id: I3bfd6ce9ca9240c3bec71a72aed028889151891c

diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx
index dbde52d..b9b0b76 100644
--- a/svx/source/svdraw/svddrgv.cxx
+++ b/svx/source/svdraw/svddrgv.cxx
@@ -535,11 +535,11 @@ bool SdrDragView::EndDragObj(bool bCopy)
     // #i73341# If inserting GluePoint, do not insist on last points being different
     if(mpCurrentSdrDragMethod && aDragStat.IsMinMoved() && (IsInsertGluePoint() || aDragStat.GetNow() != aDragStat.GetPrev()))
     {
-        sal_uIntPtr nHdlAnzMerk=0;
+        sal_uIntPtr nSavedHdlCount=0;
 
         if (bEliminatePolyPoints)
-        { // IBM Special
-            nHdlAnzMerk=GetMarkablePointCount();
+        {
+            nSavedHdlCount=GetMarkablePointCount();
         }
 
         const bool bUndo = IsUndoEnabled();
@@ -558,8 +558,8 @@ bool SdrDragView::EndDragObj(bool bCopy)
         mpCurrentSdrDragMethod = 0;
 
         if (bEliminatePolyPoints)
-        { // IBM Special
-            if (nHdlAnzMerk!=GetMarkablePointCount())
+        {
+            if (nSavedHdlCount!=GetMarkablePointCount())
             {
                 UnmarkAllPoints();
             }


More information about the Libreoffice-commits mailing list