summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--postprocess/CppunitTest_services.mk1
-rw-r--r--postprocess/qa/services.cxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/postprocess/CppunitTest_services.mk b/postprocess/CppunitTest_services.mk
index bdcae7bbe0c6..08c860e16412 100644
--- a/postprocess/CppunitTest_services.mk
+++ b/postprocess/CppunitTest_services.mk
@@ -21,6 +21,7 @@ $(eval $(call gb_CppunitTest_use_libraries,services, \
cppu \
sal \
test \
+ vcl \
$(gb_UWINAPI) \
))
diff --git a/postprocess/qa/services.cxx b/postprocess/qa/services.cxx
index 2d29e918a420..a7052c1180fe 100644
--- a/postprocess/qa/services.cxx
+++ b/postprocess/qa/services.cxx
@@ -16,6 +16,7 @@
#include <com/sun/star/reflection/XServiceConstructorDescription.hpp>
#include <com/sun/star/reflection/XServiceTypeDescription2.hpp>
#include <test/bootstrapfixture.hxx>
+#include <vcl/svapp.hxx>
using namespace css::container;
using namespace css::reflection;
@@ -87,6 +88,7 @@ void ServicesTest::test()
}
}
}
+ SolarMutexReleaser rel;
for (std::vector< css::uno::Reference<css::lang::XComponent> >::iterator i(
comps.begin());
i != comps.end(); ++i)