summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/dbase/DIndex.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-21 20:21:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-22 09:35:02 +0200
commitb1dc8e2379b53c3d57283d43655cf4d51d586ec0 (patch)
tree06c46265e3bd17f8d1af0e9551b05bf6e22891a7 /connectivity/source/inc/dbase/DIndex.hxx
parent7a769391772b1184d801a123fb226017e8d65848 (diff)
loplugin:constmethod in connectivity
Change-Id: Idd81089279b23d93276107d84446c77e49d42b77 Reviewed-on: https://gerrit.libreoffice.org/77933 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/inc/dbase/DIndex.hxx')
-rw-r--r--connectivity/source/inc/dbase/DIndex.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/inc/dbase/DIndex.hxx b/connectivity/source/inc/dbase/DIndex.hxx
index e1452967e130..d4a9d7dbfafd 100644
--- a/connectivity/source/inc/dbase/DIndex.hxx
+++ b/connectivity/source/inc/dbase/DIndex.hxx
@@ -82,7 +82,7 @@ namespace connectivity
ODbaseTable* m_pTable;
bool m_bUseCollector : 1; // Use the Garbage Collector
- OUString getCompletePath();
+ OUString getCompletePath() const;
void closeImpl();
// Closes and kills the index file and throws an error
void impl_killFileAndthrowError_throw(const char* pErrorId, const OUString& _sFile);
@@ -106,7 +106,7 @@ namespace connectivity
void SetRootPos(sal_uInt32 nPos) {m_nRootPage = nPos;}
void SetPageCount(sal_uInt32 nCount) {m_nPageCount = nCount;}
- sal_uInt32 GetPageCount() {return m_nPageCount;}
+ sal_uInt32 GetPageCount() const {return m_nPageCount;}
sal_uInt16 GetMaxNodes() const {return m_aHeader.db_maxkeys;}