[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Nov 24 20:33:59 PST 2010


 sc/source/filter/xml/xmlsubti.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fde0d49e4f7409812308f12e67fe191e7159dd2e
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Wed Nov 24 23:33:50 2010 -0500

    cppcheck: marked several methods const.

diff --git a/sc/source/filter/xml/xmlsubti.hxx b/sc/source/filter/xml/xmlsubti.hxx
index 5b750e2..e412872 100644
--- a/sc/source/filter/xml/xmlsubti.hxx
+++ b/sc/source/filter/xml/xmlsubti.hxx
@@ -175,9 +175,9 @@ public:
     sal_Int32							GetCurrentColumn() const { return maTables.back().GetColCount(); }
     sal_Int32							GetCurrentRow() const { return maTables.back().GetRow(); }
     ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheet >
-                                        GetCurrentXSheet()	{ return xCurrentSheet; }
+                                        GetCurrentXSheet() const { return xCurrentSheet; }
     ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange >
-                                        GetCurrentXCellRange()	{ return xCurrentCellRange; }
+                                        GetCurrentXCellRange() const { return xCurrentCellRange; }
     ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >
                                         GetCurrentXDrawPage();
     ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes >


More information about the Libreoffice-commits mailing list