diff options
Diffstat (limited to 'connectivity/source/inc/dbase/dindexnode.hxx')
-rw-r--r-- | connectivity/source/inc/dbase/dindexnode.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/inc/dbase/dindexnode.hxx b/connectivity/source/inc/dbase/dindexnode.hxx index 8b75f5579311..4ff5b05a3aa5 100644 --- a/connectivity/source/inc/dbase/dindexnode.hxx +++ b/connectivity/source/inc/dbase/dindexnode.hxx @@ -161,7 +161,7 @@ namespace connectivity bool IsFull() const; sal_uInt32 GetPagePos() const {return nPagePos;} - ONDXPagePtr& GetChild(ODbaseIndex* pIndex = nullptr); + ONDXPagePtr& GetChild(ODbaseIndex const * pIndex = nullptr); // Parent does not need to be reloaded const ONDXPagePtr& GetParent(); @@ -174,7 +174,7 @@ namespace connectivity sal_uInt16 Search(const ONDXKey& rSearch); sal_uInt16 Search(const ONDXPage* pPage); - void SearchAndReplace(const ONDXKey& rSearch, ONDXKey& rReplace); + void SearchAndReplace(const ONDXKey& rSearch, ONDXKey const & rReplace); protected: ONDXPage(ODbaseIndex& rIndex, sal_uInt32 nPos, ONDXPage* = nullptr); @@ -259,7 +259,7 @@ namespace connectivity void SetChild(ONDXPagePtr aCh = ONDXPagePtr(), ONDXPage* = nullptr); void Write(SvStream &rStream, const ONDXPage& rPage) const; - void Read(SvStream &rStream, ODbaseIndex&); + void Read(SvStream &rStream, ODbaseIndex const &); }; inline ONDXKey::ONDXKey(const ONDXKey& rKey) |