From 62d1632498d92b6e73b952c9d379edebe3052341 Mon Sep 17 00:00:00 2001 From: Wastack Date: Thu, 31 Mar 2016 08:38:10 +0200 Subject: tdf#97966 Drop 'static' keywords Including no keywords from extern "C" blocks Change-Id: I18ddafbf3d41f6779fb43e36ba1f1c48b37757a0 Reviewed-on: https://gerrit.libreoffice.org/23671 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- cui/source/customize/cfgutil.cxx | 4 ++-- cui/source/customize/selector.cxx | 4 ++-- cui/source/options/optgdlg.cxx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'cui/source') diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index a1fd315d845e..7120d233291c 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -492,7 +492,7 @@ namespace the model which supports the embedded scripts, or if it cannot find such a model */ - static Reference< XModel > lcl_getDocumentWithScripts_throw( const Reference< XInterface >& _rxComponent ) + Reference< XModel > lcl_getDocumentWithScripts_throw( const Reference< XInterface >& _rxComponent ) { Reference< XEmbeddedScripts > xScripts( _rxComponent, UNO_QUERY ); if ( !xScripts.is() ) @@ -506,7 +506,7 @@ namespace } - static Reference< XModel > lcl_getScriptableDocument_nothrow( const Reference< XFrame >& _rxFrame ) + Reference< XModel > lcl_getScriptableDocument_nothrow( const Reference< XFrame >& _rxFrame ) { Reference< XModel > xDocument; diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx index 28fbd8716661..21d58e05fcf3 100644 --- a/cui/source/customize/selector.cxx +++ b/cui/source/customize/selector.cxx @@ -264,7 +264,7 @@ namespace the model which supports the embedded scripts, or if it cannot find such a model */ - static Reference< XModel > lcl_getDocumentWithScripts_throw( const Reference< XInterface >& _rxComponent ) + Reference< XModel > lcl_getDocumentWithScripts_throw( const Reference< XInterface >& _rxComponent ) { Reference< XEmbeddedScripts > xScripts( _rxComponent, UNO_QUERY ); if ( !xScripts.is() ) @@ -278,7 +278,7 @@ namespace } - static Reference< XModel > lcl_getScriptableDocument_nothrow( const Reference< XFrame >& _rxFrame ) + Reference< XModel > lcl_getScriptableDocument_nothrow( const Reference< XFrame >& _rxFrame ) { Reference< XModel > xDocument; diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index b4da71fec511..52ef10e0e058 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -196,7 +196,7 @@ SvxGeneralTabPage::sfxpg OfaMiscTabPage::DeactivatePage( SfxItemSet* pSet_ ) namespace { - static OUString impl_SystemFileOpenServiceName() + OUString impl_SystemFileOpenServiceName() { const OUString &rDesktopEnvironment = Application::GetDesktopEnvironment(); @@ -225,7 +225,7 @@ namespace #endif } - static bool lcl_HasSystemFilePicker() + bool lcl_HasSystemFilePicker() { if( Application::hasNativeFileSelection() ) return true; -- cgit