diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-05-20 09:08:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-05-20 15:24:33 +0100 |
commit | 4863771f3e7f884a3bffcde5fd4b2a8e978c0c94 (patch) | |
tree | 45775594446aa8ab821ed38a0b39c4d52189e7bc /sw/source/ui/uno/unomailmerge.cxx | |
parent | 4cd346f6485e05b3b2cf8a289d5d3068cbf3df43 (diff) |
tweak globals to be well-behaved singleton
Diffstat (limited to 'sw/source/ui/uno/unomailmerge.cxx')
-rw-r--r-- | sw/source/ui/uno/unomailmerge.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uno/unomailmerge.cxx b/sw/source/ui/uno/unomailmerge.cxx index bdc995d47a75..66054e61d833 100644 --- a/sw/source/ui/uno/unomailmerge.cxx +++ b/sw/source/ui/uno/unomailmerge.cxx @@ -1241,7 +1241,7 @@ uno::Reference< uno::XInterface > SAL_CALL SwXMailMerge_createInstance( SolarMutexGuard aGuard; //the module may not be loaded - SwDLL::Init(); + SwGlobals::ensure(); uno::Reference< uno::XInterface > xRef = (cppu::OWeakObject *) new SwXMailMerge(); return xRef; } |