summaryrefslogtreecommitdiff
path: root/sw/source/ui/uno/unomailmerge.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-20 09:08:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 15:24:33 +0100
commit4863771f3e7f884a3bffcde5fd4b2a8e978c0c94 (patch)
tree45775594446aa8ab821ed38a0b39c4d52189e7bc /sw/source/ui/uno/unomailmerge.cxx
parent4cd346f6485e05b3b2cf8a289d5d3068cbf3df43 (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.cxx2
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;
}