summaryrefslogtreecommitdiff
path: root/sc/inc/dpobject.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-22 13:12:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-22 20:54:46 +0200
commit66e32324f6441818612f088cfa5c8082c8ceea32 (patch)
tree9117ab96f16b30ca8b5f098afd71c0b1ba6d2beb /sc/inc/dpobject.hxx
parentb622db74f0dcb32cb1d64f1ad1a365bd45106443 (diff)
loplugin:constparam in sc part1
Change-Id: I82fba7ebb3b4f018721642c96bbfa615c6a382c3 Reviewed-on: https://gerrit.libreoffice.org/41419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r--sc/inc/dpobject.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 3623d0715f59..1f1546204e6f 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -363,8 +363,8 @@ public:
ScDPCollection(const ScDPCollection& r);
~ScDPCollection();
- const char* ReloadCache(ScDPObject* pDPObj, std::set<ScDPObject*>& rRefs);
- bool ReloadGroupsInCache(ScDPObject* pDPObj, std::set<ScDPObject*>& rRefs);
+ const char* ReloadCache(const ScDPObject* pDPObj, std::set<ScDPObject*>& rRefs);
+ bool ReloadGroupsInCache(const ScDPObject* pDPObj, std::set<ScDPObject*>& rRefs);
SC_DLLPUBLIC bool GetReferenceGroups(const ScDPObject& rDPObj, const ScDPDimensionSaveData** pGroups) const;
SC_DLLPUBLIC size_t GetCount() const;
@@ -388,7 +388,7 @@ public:
*/
OUString CreateNewName() const;
- void FreeTable(ScDPObject* pDPObj);
+ void FreeTable(const ScDPObject* pDPObj);
SC_DLLPUBLIC bool InsertNewTable(ScDPObject* pDPObj);
SC_DLLPUBLIC bool HasTable(const ScDPObject* pDPObj) const;