[Libreoffice-commits] core.git: sd/source svx/source
Mark Hung
marklh9 at gmail.com
Fri Dec 15 05:11:30 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 bf151f0716910b56e3538579f4af7ede8f51bbcf
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>
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 19cafe3e0b30..29293f1c7540 100644
--- a/svx/source/svdraw/svddrgv.cxx
+++ b/svx/source/svdraw/svddrgv.cxx
@@ -741,7 +741,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