summaryrefslogtreecommitdiff
path: root/svtools/source/control
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 /svtools/source/control
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'svtools/source/control')
-rw-r--r--svtools/source/control/scriptedtext.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/svtools/source/control/scriptedtext.cxx b/svtools/source/control/scriptedtext.cxx
index 798885b9f7c0..97a17c45f9dc 100644
--- a/svtools/source/control/scriptedtext.cxx
+++ b/svtools/source/control/scriptedtext.cxx
@@ -86,7 +86,7 @@ public:
const uno::Reference< i18n::XBreakIterator >& _xBreakIter );
/** Returns a size struct containing the width and height of the text in the current output device. */
- const Size& GetTextSize() const;
+ const Size& GetTextSize() const { return maTextSize;}
/** Draws the text in the current output device. */
void DrawText( const Point& _rPos );
@@ -269,10 +269,6 @@ void SvtScriptedTextHelper_Impl::SetText( const OUString& _rText, const uno::Ref
CalculateBreaks( _xBreakIter );
}
-const Size& SvtScriptedTextHelper_Impl::GetTextSize() const
-{
- return maTextSize;
-}
void SvtScriptedTextHelper_Impl::DrawText( const Point& _rPos )
{