summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2016-09-27 06:35:30 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2016-09-27 06:36:08 +0200
commitb905116dc41a4101e4e44d39d946bbba6a3a334d (patch)
tree0c3dce942b3c68f9ec83a5fe6fb185307c593705 /sc/source/core
parent7fcefe280a5960ef6f56b46a7aeac8e1295850f2 (diff)
This parameter can be const.
Change-Id: Ia77b9bebb0653ce5d428956b4d2fca39461bb7c2
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/data/dpobject.cxx2
1 files changed, 1 insertions, 1 deletions
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)
{