[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - sd/source svx/source

Mark Hung marklh9 at gmail.com
Fri Dec 15 09:34:21 UTC 2017


 sd/source/ui/func/fuediglu.cxx |    2 +-
 svx/source/svdraw/svddrgv.cxx  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 715d0f32eb36593a4c9e52763b2ceb17ec1283c5
Author: Mark Hung <marklh9 at gmail.com>
Date:   Fri Dec 15 00:13:49 2017 +0800

    tdf113594: marking gluepoints immediately.
    
    pPV was for the parameter of MarkGluePoint that was removed
    in ec38966951f2, and was kept somehow and is converted
    to bool here.  Just replace the default boolean value to false
    ( that means marking instead of unmarking. )
    
    Change-Id: I4c4b9dd368537b7b90cc4effae482a7b8a41eec9
    Reviewed-on: https://gerrit.libreoffice.org/46472
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    (cherry picked from commit bf151f0716910b56e3538579f4af7ede8f51bbcf)
    Reviewed-on: https://gerrit.libreoffice.org/46497

diff --git a/sd/source/ui/func/fuediglu.cxx b/sd/source/ui/func/fuediglu.cxx
index bed07d6d72ed..da333d6b0621 100644
--- a/sd/source/ui/func/fuediglu.cxx
+++ b/sd/source/ui/func/fuediglu.cxx
@@ -141,7 +141,7 @@ bool FuEditGluePoints::MouseButtonDown(const MouseEvent& rMEvt)
             if (!rMEvt.IsShift())
                 mpView->UnmarkAllGluePoints();
 
-            mpView->MarkGluePoint(aVEvt.pObj, aVEvt.nGlueId, aVEvt.pPV);
+            mpView->MarkGluePoint(aVEvt.pObj, aVEvt.nGlueId, false);
             SdrHdl* pHdl = mpView->GetGluePointHdl(aVEvt.pObj, aVEvt.nGlueId);
 
             if (pHdl)
diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx
index d5734123d5f9..8f373f66a857 100644
--- a/svx/source/svdraw/svddrgv.cxx
+++ b/svx/source/svdraw/svddrgv.cxx
@@ -747,7 +747,7 @@ bool SdrDragView::BegInsGluePoint(const Point& rPnt)
             rGP.SetAbsolutePos(rPnt,*pObj);
 
             SdrHdl* pHdl=nullptr;
-            if (MarkGluePoint(pObj,nGlueId,pPV))
+            if (MarkGluePoint(pObj,nGlueId,false))
             {
                 pHdl=GetGluePointHdl(pObj,nGlueId);
             }


More information about the Libreoffice-commits mailing list