summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/chartlis.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-02 12:27:17 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-03 00:02:43 -0500
commit2ee44cdce813e5389c9bb7338647c1b0da620459 (patch)
treef35fa58da073ed799958fb34c4b286e7d649ad0d /sc/source/core/tool/chartlis.cxx
parent0dbda27fb81bc063c865a6829fb035322fd77035 (diff)
Moved the names of non-OLE charts out of ScDocument.
Diffstat (limited to 'sc/source/core/tool/chartlis.cxx')
-rw-r--r--sc/source/core/tool/chartlis.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx
index 49d67a407bca..28f2a86f9eb7 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -535,6 +535,11 @@ ScChartListenerCollection::ListenersType& ScChartListenerCollection::getListener
return maListeners;
}
+ScChartListenerCollection::StringSetType& ScChartListenerCollection::getNonOleObjectNames()
+{
+ return maNonOleObjectNames;
+}
+
rtl::OUString ScChartListenerCollection::getUniqueName(const rtl::OUString& rPrefix) const
{
for (sal_Int32 nNum = 1; nNum < 10000; ++nNum) // arbitrary limit to prevent infinite loop.