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 /sw/source/ui | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/vba/vbapalette.cxx | 6 | ||||
-rw-r--r-- | sw/source/ui/vba/vbapalette.hxx | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/sw/source/ui/vba/vbapalette.cxx b/sw/source/ui/vba/vbapalette.cxx index 1622a389d27b..0cdbb5157ed2 100644 --- a/sw/source/ui/vba/vbapalette.cxx +++ b/sw/source/ui/vba/vbapalette.cxx @@ -86,11 +86,5 @@ VbaPalette::VbaPalette() mxPalette = new DefaultPalette(); } -uno::Reference< container::XIndexAccess > -VbaPalette::getPalette() const -{ - - return mxPalette; -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/ui/vba/vbapalette.hxx b/sw/source/ui/vba/vbapalette.hxx index 41e0d1ab79f3..e20fba925800 100644 --- a/sw/source/ui/vba/vbapalette.hxx +++ b/sw/source/ui/vba/vbapalette.hxx @@ -28,7 +28,7 @@ public: VbaPalette(); // if no palette available e.g. because the document doesn't have a // palette defined then a default palette will be returned. - css::uno::Reference< css::container::XIndexAccess > getPalette() const; + css::uno::Reference< css::container::XIndexAccess > getPalette() const { return mxPalette;} }; #endif |