[Libreoffice-commits] .: sc/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Mar 12 15:12:38 PST 2011


 sc/source/ui/unoobj/funcuno.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c7f3def981bab8796d6192a206700c980ef2fa33
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Mar 13 00:12:13 2011 +0100

    Methods can be const

diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx
index f9d51e0..a2b7d8f 100644
--- a/sc/source/ui/unoobj/funcuno.cxx
+++ b/sc/source/ui/unoobj/funcuno.cxx
@@ -511,8 +511,8 @@ public:
         if ( nRowCount && nMaxColCount && !mbOverflow )
             lcl_AddRef( mrTokenArr, nStartRow, nMaxColCount, nRowCount );
     }
-    bool getOverflow() { return mbOverflow; }
-    bool getArgError() { return mbArgError; }
+    bool getOverflow() const { return mbOverflow; }
+    bool getArgError() const { return mbArgError; }
 };
 
 template <class T>


More information about the Libreoffice-commits mailing list