diff options
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 1b77382bc6bd..3d582a33da0f 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -353,9 +353,9 @@ void SvNumberFormatter::ChangeIntl(LanguageType eLnge) // #i77768# Due to a static reference in the toolkit lib // we need a mutex that lives longer than the svl library. // Otherwise the dtor would use a destructed mutex!! - static ::osl::Mutex persistantMutex; + static osl::Mutex* persistentMutex(new osl::Mutex); - return persistantMutex; + return *persistentMutex; } |