diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-01 11:38:02 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-01 20:21:04 -0500 |
commit | 30fc28a477174806384a07ebe8e44e2fec440b73 (patch) | |
tree | c6613d8c3b1ca4bc6c2a619f0d2baa91d4f10b45 | |
parent | 2a7c07e2e5fbdce057aaecb87231c62d98981bcb (diff) |
non-inline the chart collection getter.
-rw-r--r-- | sc/inc/document.hxx | 3 | ||||
-rw-r--r-- | sc/source/core/data/documen3.cxx | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 4a0c1869f5b2..7cbebcc3395a 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -1559,8 +1559,7 @@ public: bool GetNoListening() const { return bNoListening; } ScBroadcastAreaSlotMachine* GetBASM() const { return pBASM; } - ScChartListenerCollection* GetChartListenerCollection() const - { return pChartListenerCollection; } + SC_DLLPUBLIC ScChartListenerCollection* GetChartListenerCollection() const; void SetChartListenerCollection( ScChartListenerCollection*, bool bSetChartRangeLists = false ); void UpdateChart( const rtl::OUString& rName ); diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx index 991eb6b48a8e..822d8a59b58c 100644 --- a/sc/source/core/data/documen3.cxx +++ b/sc/source/core/data/documen3.cxx @@ -357,6 +357,11 @@ void ScDocument::StopTemporaryChartLock() apTemporaryChartLock->StopLocking(); } +ScChartListenerCollection* ScDocument::GetChartListenerCollection() const +{ + return pChartListenerCollection; +} + void ScDocument::SetChartListenerCollection( ScChartListenerCollection* pNewChartListenerCollection, bool bSetChartRangeLists ) |