include/svx/svddrgv.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit c199fc5ae3ae6c7d748a84bda6a07e3251a4e8e6 Author: Miklos Vajna <vmik...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits