From 4863771f3e7f884a3bffcde5fd4b2a8e978c0c94 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 20 May 2011 09:08:41 +0100 Subject: tweak globals to be well-behaved singleton --- sw/qa/core/filters-test.cxx | 2 +- sw/qa/core/swdoc-test.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/qa') 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); } -- cgit