diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-13 09:32:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-13 09:33:23 +0200 |
commit | b7b0035c5f1267da8c178ebc9a48415cbb3feb0c (patch) | |
tree | cc56e611b478152e064d0116710abf75f67c3863 /svx/source | |
parent | 7c9d6c6e28adfd372791e2195ff4d830bad6b012 (diff) |
loplugin:staticmethods
Change-Id: Ia16605c8227573948e2ac750414e9dff3efc2f81
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/swframeexample.cxx | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/svx/source/dialog/swframeexample.cxx b/svx/source/dialog/swframeexample.cxx index 2ed2c18413fc..e31638129409 100644 --- a/svx/source/dialog/swframeexample.cxx +++ b/svx/source/dialog/swframeexample.cxx @@ -35,6 +35,18 @@ using namespace ::com::sun::star::text; #define FLYINFLY_BORDER 3 #define DEMOTEXT "Ij" +namespace { + +void DrawRect_Impl(vcl::RenderContext& rRenderContext, const Rectangle &rRect, + const Color &rFillColor, const Color &rLineColor) +{ + rRenderContext.SetFillColor(rFillColor); + rRenderContext.SetLineColor(rLineColor); + rRenderContext.DrawRect(rRect); +} + +} + SvxSwFrameExample::SvxSwFrameExample( vcl::Window *pParent, WinBits nStyle ) : Window(pParent, nStyle), @@ -705,14 +717,4 @@ void SvxSwFrameExample::SetRelPos(const Point& rP) aRelPos.Y() = -5; } -void SvxSwFrameExample::DrawRect_Impl(vcl::RenderContext& rRenderContext, const Rectangle &rRect, - const Color &rFillColor, const Color &rLineColor) -{ - rRenderContext.SetFillColor(rFillColor); - rRenderContext.SetLineColor(rLineColor); - rRenderContext.DrawRect(rRect); -} - - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |