diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-02 12:27:17 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-03 00:02:43 -0500 |
commit | 2ee44cdce813e5389c9bb7338647c1b0da620459 (patch) | |
tree | f35fa58da073ed799958fb34c4b286e7d649ad0d /sc/inc/chartlis.hxx | |
parent | 0dbda27fb81bc063c865a6829fb035322fd77035 (diff) |
Moved the names of non-OLE charts out of ScDocument.
Diffstat (limited to 'sc/inc/chartlis.hxx')
-rw-r--r-- | sc/inc/chartlis.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx index e710d1f1062b..9707971910c1 100644 --- a/sc/inc/chartlis.hxx +++ b/sc/inc/chartlis.hxx @@ -158,10 +158,11 @@ public: }; typedef boost::ptr_map<rtl::OUString, ScChartListener> ListenersType; - + typedef boost::unordered_set<rtl::OUString, rtl::OUStringHash> StringSetType; private: ListenersType maListeners; ::std::list<RangeListenerItem> maHiddenListeners; + StringSetType maNonOleObjectNames; Timer aTimer; ScDocument* pDoc; @@ -186,6 +187,7 @@ public: const ListenersType& getListeners() const; ListenersType& getListeners(); + StringSetType& getNonOleObjectNames(); /** * Create a unique name that's not taken by any existing chart listener |