diff options
author | Tobias Lippert <drtl@fastmail.fm> | 2015-08-02 21:43:22 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-08-04 06:43:49 +0000 |
commit | e355661fe6352c93305406330349b630735fd4cd (patch) | |
tree | 57734477432dba7bc0244ec8a5e79741c5f6e200 /sc/inc/chartlis.hxx | |
parent | 431957118d7bbf96bf78e142df9decbcaff6475b (diff) |
fdo#68016 Add unittests for ScChartListenerCollection
Change-Id: Ie9d0f43783fbdd922c089607ad67fdd1686334c9
Reviewed-on: https://gerrit.libreoffice.org/17478
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/inc/chartlis.hxx')
-rw-r--r-- | sc/inc/chartlis.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx index 0f74e869852c..8b29b9933d26 100644 --- a/sc/inc/chartlis.hxx +++ b/sc/inc/chartlis.hxx @@ -117,7 +117,7 @@ public: bool operator!=( const ScChartListener& r ) const; }; -class ScChartHiddenRangeListener +class SC_DLLPUBLIC ScChartHiddenRangeListener { public: ScChartHiddenRangeListener(); @@ -125,7 +125,7 @@ public: virtual void notify() = 0; }; -class ScChartListenerCollection +class SC_DLLPUBLIC ScChartListenerCollection { public: typedef boost::ptr_map<OUString, ScChartListener> ListenersType; @@ -158,7 +158,7 @@ public: // only needed after copy-ctor, if newly added to doc void StartAllListeners(); - SC_DLLPUBLIC void insert(ScChartListener* pListener); + void insert(ScChartListener* pListener); ScChartListener* findByName(const OUString& rName); const ScChartListener* findByName(const OUString& rName) const; bool hasListeners() const; @@ -184,7 +184,7 @@ public: const com::sun::star::uno::Reference< com::sun::star::chart::XChartData >& rSource ); void StartTimer(); void UpdateDirtyCharts(); - SC_DLLPUBLIC void SetDirty(); + void SetDirty(); void SetDiffDirty( const ScChartListenerCollection&, bool bSetChartRangeLists = false ); |