summaryrefslogtreecommitdiffstats
path: root/sc/inc/externalrefmgr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-24 12:24:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-24 15:15:14 +0200
commitc137c2a46cd2276938d572c97fb111b9aa31cdfd (patch)
tree9fe4c1809e836f3c177fd930b632af6cad5407c0 /sc/inc/externalrefmgr.hxx
parenttdf#111934 xmloff: ODF import: self-referential conditional style crash (diff)
downloadcore-c137c2a46cd2276938d572c97fb111b9aa31cdfd.tar.gz
core-c137c2a46cd2276938d572c97fb111b9aa31cdfd.zip
loplugin:constparam in sc part5
Change-Id: Iba249d4d8f7cc686941106983031bae53c7528e1 Reviewed-on: https://gerrit.libreoffice.org/41510 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/externalrefmgr.hxx')
-rw-r--r--sc/inc/externalrefmgr.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index 5a63a0030797..30bc8136b034 100644
--- a/sc/inc/externalrefmgr.hxx
+++ b/sc/inc/externalrefmgr.hxx
@@ -398,7 +398,7 @@ public:
class SC_DLLPUBLIC ApiGuard
{
public:
- ApiGuard(ScDocument* pDoc);
+ ApiGuard(const ScDocument* pDoc);
~ApiGuard();
private:
ScExternalRefManager* mpMgr;
@@ -745,7 +745,7 @@ private:
* @return range token array
*/
ScExternalRefCache::TokenArrayRef getDoubleRefTokensFromSrcDoc(
- ScDocument* pSrcDoc, const OUString& rTabName, ScRange& rRange,
+ const ScDocument* pSrcDoc, const OUString& rTabName, ScRange& rRange,
::std::vector<ScExternalRefCache::SingleRangeData>& rCacheData);
/**
@@ -761,7 +761,7 @@ private:
* @return range name token array
*/
static ScExternalRefCache::TokenArrayRef getRangeNameTokensFromSrcDoc(
- sal_uInt16 nFileId, ScDocument* pSrcDoc, OUString& rName);
+ sal_uInt16 nFileId, const ScDocument* pSrcDoc, OUString& rName);
ScDocument* getInMemorySrcDocument(sal_uInt16 nFileId);
ScDocument* getSrcDocument(sal_uInt16 nFileId);