[Libreoffice-commits] core.git: sc/source

Tor Lillqvist tml at collabora.com
Tue Jun 20 04:35:41 UTC 2017


 sc/source/core/data/column2.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 13ab6b5c16f8b1504cc7c36a8e1213950a51eefa
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Jun 20 07:34:27 2017 +0300

    Avoid "this member function can be declared static [loplugin:staticmethods]"
    
    Change-Id: If8e0810c4998b2d56609a0c9fe10ce061d1a6347

diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index 890e319e3d22..506e59006253 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -1559,6 +1559,8 @@ void ScColumn::CellStorageModified()
         while (itAttr != maCellTextAttrs.end() && itAttr->type != sc::element_type_empty)
             ++itAttr;
     }
+#else
+    (void) this; // Avoid "this member function can be declared static [loplugin:staticmethods]"
 #endif
 }
 


More information about the Libreoffice-commits mailing list