summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2017-12-15 00:13:49 +0800
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-15 10:32:19 +0100
commit715d0f32eb36593a4c9e52763b2ceb17ec1283c5 (patch)
tree497f9fd7863bbf8d18d45fd1b228a4924290fbed
parent3cd7f15df1dbd4603f01fceed674486e4adc9c09 (diff)
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@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit bf151f0716910b56e3538579f4af7ede8f51bbcf) Reviewed-on: https://gerrit.libreoffice.org/46497
-rw-r--r--sd/source/ui/func/fuediglu.cxx2
-rw-r--r--svx/source/svdraw/svddrgv.cxx2
2 files changed, 2 insertions, 2 deletions
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);
}