summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /sw/source/ui
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/vba/vbapalette.cxx6
-rw-r--r--sw/source/ui/vba/vbapalette.hxx2
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