summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-22 16:10:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-23 10:20:46 +0000
commitae7b4576d7df85b41c914c14cc87674428d2ac79 (patch)
treed78111d7823ac56b293f9adb78672271fa672009 /sfx2
parentfixed crash due to use of STL deque for SwLineRects (diff)
downloadcore-ae7b4576d7df85b41c914c14cc87674428d2ac79.tar.gz
core-ae7b4576d7df85b41c914c14cc87674428d2ac79.zip
overly static lingering OUStrings
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appbaslib.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/sfx2/source/appl/appbaslib.cxx b/sfx2/source/appl/appbaslib.cxx
index fcb372819bfc..b50b563d8d79 100644
--- a/sfx2/source/appl/appbaslib.cxx
+++ b/sfx2/source/appl/appbaslib.cxx
@@ -183,16 +183,7 @@ Sequence< OUString > SfxApplicationDialogLibraryContainer::impl_getStaticSupport
OUString SfxApplicationDialogLibraryContainer::impl_getStaticImplementationName()
{
- static OUString aImplName;
- static sal_Bool bNeedsInit = sal_True;
-
- MutexGuard aGuard( Mutex::getGlobalMutex() );
- if( bNeedsInit )
- {
- aImplName = OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.sfx2.ApplicationDialogLibraryContainer"));
- bNeedsInit = sal_False;
- }
- return aImplName;
+ return OUString("com.sun.star.comp.sfx2.ApplicationDialogLibraryContainer");
}
Reference< XInterface > SAL_CALL SfxApplicationDialogLibraryContainer::impl_createInstance