[Libreoffice-commits] .: sc/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sun Apr 17 06:47:55 PDT 2011
sc/source/core/data/table3.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 7cfe37da545a7c3f934202726f807df3e2937fc6
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Apr 17 15:47:21 2011 +0200
Some cppcheck cleaning
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 8968e83..2c1c9ea 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -263,10 +263,10 @@ public:
ppInfo[n2] = pTmp;
}
}
- sal_uInt16 GetUsedSorts() { return nUsedSorts; }
- ScSortInfo** GetFirstArray() { return pppInfo[0]; }
- SCCOLROW GetStart() { return nStart; }
- SCSIZE GetCount() { return nCount; }
+ sal_uInt16 GetUsedSorts() const { return nUsedSorts; }
+ ScSortInfo** GetFirstArray() const { return pppInfo[0]; }
+ SCCOLROW GetStart() const { return nStart; }
+ SCSIZE GetCount() const { return nCount; }
};
ScSortInfoArray* ScTable::CreateSortInfoArray( SCCOLROW nInd1, SCCOLROW nInd2 )
More information about the Libreoffice-commits
mailing list