summaryrefslogtreecommitdiff
path: root/sw/qa
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/qa
parent4cd346f6485e05b3b2cf8a289d5d3068cbf3df43 (diff)
tweak globals to be well-behaved singleton
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/core/filters-test.cxx2
-rw-r--r--sw/qa/core/swdoc-test.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx
index 3c6ec0a23f06..253e666be5d6 100644
--- a/sw/qa/core/filters-test.cxx
+++ b/sw/qa/core/filters-test.cxx
@@ -206,7 +206,7 @@ FiltersTest::FiltersTest()
InitVCL(xSM);
- //This is a bit of a fudge, we do this to ensure that SwDLL::Init, which is
+ //This is a bit of a fudge, we do this to ensure that SwGlobals::ensure, which is
//a private symbol to us, gets called
m_xWriterComponent =
xSM->createInstance(rtl::OUString(
diff --git a/sw/qa/core/swdoc-test.cxx b/sw/qa/core/swdoc-test.cxx
index e4de51fac362..e0def7a75a9f 100644
--- a/sw/qa/core/swdoc-test.cxx
+++ b/sw/qa/core/swdoc-test.cxx
@@ -207,7 +207,7 @@ SwDocTest::SwDocTest()
InitVCL(xSM);
- SwDLL::Init();
+ SwGlobals::ensure();
ErrorHandler::RegisterDisplay(&aWndFunc);
}