diff options
author | Wastack <btomi96@gmail.com> | 2016-03-31 08:46:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 06:46:17 +0000 |
commit | cb495d71063d60da46215a2510736eccd910fa7a (patch) | |
tree | 3179b5a73b9ca9e0e45618bfaa09c9718c0290f6 /svtools | |
parent | eea3f508c35f8f391825761ab6e1f3fbfb2fd0c1 (diff) |
tdf#97966 Drop 'static' keywords
Including no keywords from extern "C" blocks
Change-Id: I364aa7d67c2bf867588798e07df95c3f3f2bd7f3
Reviewed-on: https://gerrit.libreoffice.org/23676
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/calendar.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/gridtablerenderer.cxx | 6 | ||||
-rw-r--r-- | svtools/source/uno/unoiface.cxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/wizard/unowizard.cxx | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index 56ab8f54dd48..58010872b18a 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -608,7 +608,7 @@ sal_uInt16 Calendar::ImplHitTest( const Point& rPos, Date& rDate ) const namespace { -static void ImplDrawSpinArrow(vcl::RenderContext& rRenderContext, const Rectangle& rRect, bool bPrev) +void ImplDrawSpinArrow(vcl::RenderContext& rRenderContext, const Rectangle& rRect, bool bPrev) { long i; long n; diff --git a/svtools/source/table/gridtablerenderer.cxx b/svtools/source/table/gridtablerenderer.cxx index 3c935ab01bd0..93f3e75ef3f7 100644 --- a/svtools/source/table/gridtablerenderer.cxx +++ b/svtools/source/table/gridtablerenderer.cxx @@ -126,7 +126,7 @@ namespace svt { namespace table namespace { - static Rectangle lcl_getContentArea( GridTableRenderer_Impl const & i_impl, Rectangle const & i_cellArea ) + Rectangle lcl_getContentArea( GridTableRenderer_Impl const & i_impl, Rectangle const & i_cellArea ) { Rectangle aContentArea( i_cellArea ); if ( i_impl.bUseGridLines ) @@ -136,7 +136,7 @@ namespace svt { namespace table } return aContentArea; } - static Rectangle lcl_getTextRenderingArea( Rectangle const & i_contentArea ) + Rectangle lcl_getTextRenderingArea( Rectangle const & i_contentArea ) { Rectangle aTextArea( i_contentArea ); aTextArea.Left() += 2; aTextArea.Right() -= 2; @@ -144,7 +144,7 @@ namespace svt { namespace table return aTextArea; } - static DrawTextFlags lcl_getAlignmentTextDrawFlags( GridTableRenderer_Impl const & i_impl, ColPos const i_columnPos ) + DrawTextFlags lcl_getAlignmentTextDrawFlags( GridTableRenderer_Impl const & i_impl, ColPos const i_columnPos ) { DrawTextFlags nVertFlag = DrawTextFlags::Top; VerticalAlignment const eVertAlign = i_impl.rModel.getVerticalAlign(); diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx index df5a473b5a7a..595106ee2f7c 100644 --- a/svtools/source/uno/unoiface.cxx +++ b/svtools/source/uno/unoiface.cxx @@ -43,7 +43,7 @@ namespace { - static void lcl_setWinBits( vcl::Window* _pWindow, WinBits _nBits, bool _bSet ) + void lcl_setWinBits( vcl::Window* _pWindow, WinBits _nBits, bool _bSet ) { WinBits nStyle = _pWindow->GetStyle(); if ( _bSet ) diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx index d3b5d7bc30f1..03c57d340dd9 100644 --- a/svtools/source/uno/wizard/unowizard.cxx +++ b/svtools/source/uno/wizard/unowizard.cxx @@ -166,7 +166,7 @@ namespace { namespace { - static void lcl_checkPaths( const Sequence< Sequence< sal_Int16 > >& i_rPaths, const Reference< XInterface >& i_rContext ) + void lcl_checkPaths( const Sequence< Sequence< sal_Int16 > >& i_rPaths, const Reference< XInterface >& i_rContext ) { // need at least one path if ( i_rPaths.getLength() == 0 ) @@ -245,7 +245,7 @@ namespace { m_bInitialized = true; } - static OString lcl_getHelpId( const OUString& _rHelpURL ) + OString lcl_getHelpId( const OUString& _rHelpURL ) { INetURLObject aHID( _rHelpURL ); if ( aHID.GetProtocol() == INetProtocol::Hid ) @@ -255,7 +255,7 @@ namespace { } - static OUString lcl_getHelpURL( const OString& sHelpId ) + OUString lcl_getHelpURL( const OString& sHelpId ) { OUStringBuffer aBuffer; OUString aTmp( |