summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appserv.cxx6
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx2
-rw-r--r--sfx2/source/doc/guisaveas.cxx8
-rw-r--r--sfx2/source/doc/objmisc.cxx2
-rw-r--r--sfx2/source/doc/objxtor.cxx2
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 )
{