diff options
-rw-r--r-- | sc/inc/dpobject.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/dpobject.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index 747bcfbac18c..536e99b169f4 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -390,7 +390,7 @@ public: void FreeTable(ScDPObject* pDPObj); SC_DLLPUBLIC bool InsertNewTable(ScDPObject* pDPObj); - bool HasTable(ScDPObject* pDPObj) const; + bool HasTable(const ScDPObject* pDPObj) const; SC_DLLPUBLIC SheetCaches& GetSheetCaches(); SC_DLLPUBLIC const SheetCaches& GetSheetCaches() const; diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx index 302eea5bcbfa..8e6411b96e2f 100644 --- a/sc/source/core/data/dpobject.cxx +++ b/sc/source/core/data/dpobject.cxx @@ -3786,7 +3786,7 @@ bool ScDPCollection::InsertNewTable(ScDPObject* pDPObj) return true; } -bool ScDPCollection::HasTable(ScDPObject* pDPObj) const +bool ScDPCollection::HasTable(const ScDPObject* pDPObj) const { for (const std::unique_ptr<ScDPObject>& aTable : maTables) { |