[Libreoffice-commits] core.git: include/svx

Miklos Vajna vmiklos at collabora.co.uk
Fri Dec 8 16:49:15 UTC 2017


 include/svx/svddrgv.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c199fc5ae3ae6c7d748a84bda6a07e3251a4e8e6
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Dec 8 17:43:30 2017 +0100

    svx: fix loplugin:staticmethods warnings
    
    Change-Id: I1b9a0a01f88e8faf6a8973848598b77dee10a14d

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;


More information about the Libreoffice-commits mailing list