[Libreoffice-commits] core.git: svx/source
Stephan Bergmann
sbergman at redhat.com
Mon Feb 20 12:32:46 UTC 2017
svx/source/svdraw/svdmrkv.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 10d39960ad03f729aedbca0c50367f48d51f1304
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Feb 20 13:31:38 2017 +0100
nBestDist should apparently be updated
missing ever since fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import"
Change-Id: If3271b253fbd5c9deda5b0ab8b9e20af6ab2be1b
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index c7c882c..4d97d66 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -1905,6 +1905,7 @@ bool SdrMarkView::PickMarkedObj(const Point& rPnt, SdrObject*& rpObj, SdrPageVie
if (aPt.Y()<aRect.Top()) nDist+=aRect.Top()-aPt.Y();
if (aPt.Y()>aRect.Bottom()) nDist+=aPt.Y()-aRect.Bottom();
if (nDist<nBestDist) {
+ nBestDist = nDist;
pBestObj=pObj;
pBestPV=pPV;
}
More information about the Libreoffice-commits
mailing list