summaryrefslogtreecommitdiff
path: root/test/source/unoapi_test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/unoapi_test.cxx')
-rw-r--r--test/source/unoapi_test.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx
index 8921b6d01155..6147609f3f42 100644
--- a/test/source/unoapi_test.cxx
+++ b/test/source/unoapi_test.cxx
@@ -17,7 +17,7 @@ using namespace css;
using namespace css::uno;
UnoApiTest::UnoApiTest(const OUString& path)
- : m_aBaseString(path)
+ : m_aBaseString(path)
{
}
@@ -25,7 +25,8 @@ void UnoApiTest::setUp()
{
test::BootstrapFixture::setUp();
- mxDesktop = css::frame::Desktop::create( comphelper::getComponentContext(getMultiServiceFactory()) );
+ mxDesktop
+ = css::frame::Desktop::create(comphelper::getComponentContext(getMultiServiceFactory()));
CPPUNIT_ASSERT_MESSAGE("no desktop!", mxDesktop.is());
}
@@ -34,9 +35,9 @@ void UnoApiTest::createFileURL(const OUString& aFileBase, OUString& rFilePath)
rFilePath = m_directories.getSrcRootURL() + m_aBaseString + "/" + aFileBase;
}
-void UnoApiTest::closeDocument( uno::Reference< lang::XComponent > const & xDocument )
+void UnoApiTest::closeDocument(uno::Reference<lang::XComponent> const& xDocument)
{
- uno::Reference< util::XCloseable > xCloseable(xDocument, UNO_QUERY_THROW);
+ uno::Reference<util::XCloseable> xCloseable(xDocument, UNO_QUERY_THROW);
xCloseable->close(false);
}