diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /sc/inc/chartlis.hxx | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sc/inc/chartlis.hxx')
-rw-r--r-- | sc/inc/chartlis.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx index 24c1bcdc0913..f9a364181389 100644 --- a/sc/inc/chartlis.hxx +++ b/sc/inc/chartlis.hxx @@ -49,7 +49,7 @@ public: virtual void notify(sal_uInt16 nFileId, ScExternalRefManager::LinkUpdateType eType) SAL_OVERRIDE; void addFileId(sal_uInt16 nFileId); void removeFileId(sal_uInt16 nFileId); - ::boost::unordered_set<sal_uInt16>& getAllFileIds(); + ::boost::unordered_set<sal_uInt16>& getAllFileIds() { return maFileIds;} private: ExternalRefListener(); @@ -83,7 +83,7 @@ public: ScChartListener( const ScChartListener& ); virtual ~ScChartListener(); - const OUString& GetName() const; + const OUString& GetName() const { return maName;} void SetUno( const com::sun::star::uno::Reference< com::sun::star::chart::XChartDataChangeEventListener >& rListener, const com::sun::star::uno::Reference< com::sun::star::chart::XChartData >& rSource ); @@ -167,9 +167,9 @@ public: void removeByName(const OUString& rName); - const ListenersType& getListeners() const; - ListenersType& getListeners(); - StringSetType& getNonOleObjectNames(); + const ListenersType& getListeners() const { return maListeners;} + ListenersType& getListeners() { return maListeners;} + StringSetType& getNonOleObjectNames() { return maNonOleObjectNames;} /** * Create a unique name that's not taken by any existing chart listener |