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 /include/svtools | |
parent | writerfilter: Kill unused XPathLogger. (diff) | |
download | core-3e82897353e576dc6e3fbf55371fda5a0c3415df.tar.gz core-3e82897353e576dc6e3fbf55371fda5a0c3415df.zip |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/colrdlg.hxx | 2 | ||||
-rw-r--r-- | include/svtools/simptabl.hxx | 2 | ||||
-rw-r--r-- | include/svtools/toolboxcontroller.hxx | 4 | ||||
-rw-r--r-- | include/svtools/treelistentry.hxx | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/include/svtools/colrdlg.hxx b/include/svtools/colrdlg.hxx index 834150fe0f19..37bfc6d1799f 100644 --- a/include/svtools/colrdlg.hxx +++ b/include/svtools/colrdlg.hxx @@ -43,7 +43,7 @@ public: virtual ~SvColorDialog(); void SetColor( const Color& rColor ); - const Color& GetColor() const; + const Color& GetColor() const { return maColor;} void SetMode( sal_Int16 eMode ); diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx index 1d3ab7c735c1..4a0d10780851 100644 --- a/include/svtools/simptabl.hxx +++ b/include/svtools/simptabl.hxx @@ -112,7 +112,7 @@ public: sal_uInt16 GetSortedCol(){ return nSortCol;} SvLBoxItem* GetEntryAtPos( SvTreeListEntry* pEntry, sal_uInt16 nPos ) const; - CommandEvent GetCommandEvent()const; + CommandEvent GetCommandEvent()const { return aCEvt;} inline bool IsFocusOnCellEnabled() const { return IsCellFocusEnabled(); } void SetCommandHdl( const Link& rLink ) { aCommandLink = rLink; } diff --git a/include/svtools/toolboxcontroller.hxx b/include/svtools/toolboxcontroller.hxx index a8a6e657bc4b..352a645ed0e1 100644 --- a/include/svtools/toolboxcontroller.hxx +++ b/include/svtools/toolboxcontroller.hxx @@ -163,9 +163,9 @@ class SVT_DLLPUBLIC ToolboxController : void unbindListener(); bool isBound() const; // TODO remove - ::com::sun::star::uno::Reference< ::com::sun::star::util::XURLTransformer > getURLTransformer() const; + ::com::sun::star::uno::Reference< ::com::sun::star::util::XURLTransformer > getURLTransformer() const { return m_xUrlTransformer;} // TODO remove - ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > getParent() const; + ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > getParent() const { return m_xParentWindow;} bool m_bInitialized : 1, m_bDisposed : 1; diff --git a/include/svtools/treelistentry.hxx b/include/svtools/treelistentry.hxx index 0f74d9757f8b..71ff072b3fef 100644 --- a/include/svtools/treelistentry.hxx +++ b/include/svtools/treelistentry.hxx @@ -73,8 +73,8 @@ public: bool HasChildListPos() const; sal_uLong GetChildListPos() const; - SvTreeListEntries& GetChildEntries(); - const SvTreeListEntries& GetChildEntries() const; + SvTreeListEntries& GetChildEntries() { return maChildren;} + const SvTreeListEntries& GetChildEntries() const { return maChildren;} void Clone(SvTreeListEntry* pSource); |