diff options
author | Wastack <btomi96@gmail.com> | 2016-03-31 08:45:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 06:46:02 +0000 |
commit | eea3f508c35f8f391825761ab6e1f3fbfb2fd0c1 (patch) | |
tree | d956fb94b7d9cf4b978eb1a9aca2910fca93d384 /sfx2 | |
parent | 1271eadfac7e77ff7b249e64be3857ffdc0a261c (diff) |
tdf#97966 Drop 'static' keywords
Including no keywords from extern "C" blocks
Change-Id: I87f2ed75888b51ec9e0cb75566bf7c2351b479b4
Reviewed-on: https://gerrit.libreoffice.org/23675
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/dialog/filedlghelper.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/guisaveas.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objxtor.cxx | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index 822a851b6a84..a178dc454961 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -137,7 +137,7 @@ using namespace ::com::sun::star::document; namespace { // lp#527938, debian#602953, fdo#33266, i#105408 - static bool lcl_isBaseAvailable() + bool lcl_isBaseAvailable() { try { @@ -153,7 +153,7 @@ namespace return false; } } - static void lcl_tryLoadBibliography() + void lcl_tryLoadBibliography() { // lp#527938, debian#602953, fdo#33266, i#105408 // make sure we actually can instanciate services from base first @@ -898,7 +898,7 @@ namespace return _pFallback; } - static OUString lcl_getBasicIDEServiceName() + OUString lcl_getBasicIDEServiceName() { return OUString( "com.sun.star.script.BasicIDE"); } diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index ec2078cd0310..e33fd4677be1 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -1997,7 +1997,7 @@ void FileDialogHelper_Impl::saveConfig() namespace { - static OUString getInitPath( const OUString& _rFallback, const sal_Int32 _nFallbackToken ) + OUString getInitPath( const OUString& _rFallback, const sal_Int32 _nFallbackToken ) { SfxApplication *pSfxApp = SfxGetpApp(); OUString sPath = pSfxApp->GetLastDir_Impl(); diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index 44b153f7148a..c00ed82c5d40 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -123,7 +123,7 @@ using namespace css::system; namespace { -static sal_uInt16 getSlotIDFromMode( sal_Int8 nStoreMode ) +sal_uInt16 getSlotIDFromMode( sal_Int8 nStoreMode ) { // This is a temporary hardcoded solution must be removed when // dialogs do not need parameters in SidSet representation any more @@ -147,7 +147,7 @@ static sal_uInt16 getSlotIDFromMode( sal_Int8 nStoreMode ) } -static sal_Int8 getStoreModeFromSlotName( const OUString& aSlotName ) +sal_Int8 getStoreModeFromSlotName( const OUString& aSlotName ) { sal_Int8 nResult = 0; if ( aSlotName == "ExportTo" ) @@ -172,14 +172,14 @@ static sal_Int8 getStoreModeFromSlotName( const OUString& aSlotName ) } -static SfxFilterFlags getMustFlags( sal_Int8 nStoreMode ) +SfxFilterFlags getMustFlags( sal_Int8 nStoreMode ) { return ( SfxFilterFlags::EXPORT | ( ( ( nStoreMode & EXPORT_REQUESTED ) && !( nStoreMode & WIDEEXPORT_REQUESTED ) ) ? SfxFilterFlags::NONE : SfxFilterFlags::IMPORT ) ); } -static SfxFilterFlags getDontFlags( sal_Int8 nStoreMode ) +SfxFilterFlags getDontFlags( sal_Int8 nStoreMode ) { return ( SfxFilterFlags::INTERNAL | SfxFilterFlags::NOTINFILEDLG diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index a8dd86db683f..6a04de27abdf 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -1452,7 +1452,7 @@ ErrCode SfxObjectShell::CallBasic( const OUString& rMacro, namespace { - static bool lcl_isScriptAccessAllowed_nothrow( const Reference< XInterface >& _rxScriptContext ) + bool lcl_isScriptAccessAllowed_nothrow( const Reference< XInterface >& _rxScriptContext ) { try { diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index a3c1049e122c..6f6963080a32 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -635,7 +635,7 @@ bool SfxObjectShell::PrepareClose #if HAVE_FEATURE_SCRIPTING namespace { - static BasicManager* lcl_getBasicManagerForDocument( const SfxObjectShell& _rDocument ) + BasicManager* lcl_getBasicManagerForDocument( const SfxObjectShell& _rDocument ) { if ( !_rDocument.Get_Impl()->m_bNoBasicCapabilities ) { |