From 4bc32d5a1b236c12d8133782314fe61c6c037cdb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 18 May 2021 14:45:15 +0200 Subject: loplugin:external (clang-cl) Change-Id: I0bd38acd8c562f4478831f278e7cfda54268849d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115747 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- embeddedobj/qa/cppunit/msole.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'embeddedobj') diff --git a/embeddedobj/qa/cppunit/msole.cxx b/embeddedobj/qa/cppunit/msole.cxx index 6cd768ead146..85be389384fa 100644 --- a/embeddedobj/qa/cppunit/msole.cxx +++ b/embeddedobj/qa/cppunit/msole.cxx @@ -66,6 +66,8 @@ void Test::registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx) XmlTestTools::registerODFNamespaces(pXmlXpathCtx); } +namespace +{ class OdtExportThread : public osl::Thread { uno::Reference mxComponent; @@ -91,6 +93,7 @@ void OdtExportThread::run() }; xStorable->storeToURL(maURL, aStoreProperties); } +} CPPUNIT_TEST_FIXTURE(Test, testSaveOnThread) { -- cgit