summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appserv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/appserv.cxx')
-rw-r--r--sfx2/source/appl/appserv.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index e2477009b557..29a47a0609d0 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -906,10 +906,9 @@ namespace
return _pFallback;
}
- const OUString& lcl_getBasicIDEServiceName()
+ static OUString lcl_getBasicIDEServiceName()
{
- static const OUString s_sBasicName( "com.sun.star.script.BasicIDE" );
- return s_sBasicName;
+ return OUString( "com.sun.star.script.BasicIDE");
}
SfxViewFrame* lcl_getBasicIDEViewFrame( SfxObjectShell* i_pBasicIDE )