diff options
author | Wastack <btomi96@gmail.com> | 2016-03-31 08:38:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 06:44:18 +0000 |
commit | 62d1632498d92b6e73b952c9d379edebe3052341 (patch) | |
tree | 05bc34137b4617d51d62412fde5a8941fb6a602f /cui | |
parent | 0b8e5ca5a25dfe9f20b098fdbd94f7e9f223f5c7 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 4 | ||||
-rw-r--r-- | cui/source/customize/selector.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/optgdlg.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
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 <NULL/> 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 <NULL/> 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; |