[Libreoffice-commits] core.git: svx/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Dec 8 16:51:29 UTC 2017
svx/source/svdraw/svddrgmt.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 603452f7eb4695cc3bcc317e9b5a2b1c207e1f45
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Dec 8 17:48:45 2017 +0100
svx: fix loplugin:staticaccess warnings
Change-Id: I489709b4eecb9f275e0e329c7bd3c5685f9398dd
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx
index 805b517557c6..a12282d804f9 100644
--- a/svx/source/svdraw/svddrgmt.cxx
+++ b/svx/source/svdraw/svddrgmt.cxx
@@ -418,7 +418,7 @@ void SdrDragMethod::createSdrDragEntries_SolidDrag()
void SdrDragMethod::createSdrDragEntries_PolygonDrag()
{
const size_t nMarkCount(getSdrDragView().GetMarkedObjectCount());
- bool bNoPolygons(getSdrDragView().IsNoDragXorPolys() || nMarkCount > getSdrDragView().GetDragXorPolyLimit());
+ bool bNoPolygons(getSdrDragView().IsNoDragXorPolys() || nMarkCount > SdrDragView::GetDragXorPolyLimit());
basegfx::B2DPolyPolygon aResult;
sal_uInt32 nPointCount(0);
@@ -435,7 +435,7 @@ void SdrDragMethod::createSdrDragEntries_PolygonDrag()
nPointCount += aNewPolyPolygon.getB2DPolygon(b).count();
}
- if(nPointCount > getSdrDragView().GetDragXorPointLimit())
+ if(nPointCount > SdrDragView::GetDragXorPointLimit())
{
bNoPolygons = true;
}
More information about the Libreoffice-commits
mailing list