summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-12-08 17:43:30 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-12-08 17:47:07 +0100
commitc199fc5ae3ae6c7d748a84bda6a07e3251a4e8e6 (patch)
treecf6c0419a559f946e72b20aaf649d21ae84c1b3d /include/svx
parent8a2bbf1dd54c8efc3e2d969011e5f0bddef07013 (diff)
svx: fix loplugin:staticmethods warnings
Change-Id: I1b9a0a01f88e8faf6a8973848598b77dee10a14d
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svddrgv.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/svddrgv.hxx b/include/svx/svddrgv.hxx
index 067b954b7d73..19b56414e9b0 100644
--- a/include/svx/svddrgv.hxx
+++ b/include/svx/svddrgv.hxx
@@ -153,13 +153,13 @@ public:
// If the number of selected objects exceeds the value set here,
// NoDragPolys is (temporarily) activated implicitly.
// PolyPolygons etc. are regarded as multiple objects respectively.
- size_t GetDragXorPolyLimit() const { return eDragXorPolyLimit; }
+ static size_t GetDragXorPolyLimit() { return eDragXorPolyLimit; }
// Like DragXorPolyLimit, but in respect to the total number of
// all polygons.
// NoDragPolys is (temporarily) activated, if one of the limits
// is exceeded.
- size_t GetDragXorPointLimit() const { return eDragXorPointLimit; }
+ static size_t GetDragXorPointLimit() { return eDragXorPointLimit; }
void SetSolidDragging(bool bOn);
bool IsSolidDragging() const;