summaryrefslogtreecommitdiff
path: root/vcl/source/uipreviewer/previewer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/uipreviewer/previewer.cxx')
-rw-r--r--vcl/source/uipreviewer/previewer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/uipreviewer/previewer.cxx b/vcl/source/uipreviewer/previewer.cxx
index 63f7ae51e066..47fe2099e9fc 100644
--- a/vcl/source/uipreviewer/previewer.cxx
+++ b/vcl/source/uipreviewer/previewer.cxx
@@ -35,8 +35,7 @@ void UIPreviewApp::Init()
cppu::defaultBootstrap_InitialComponentContext();
uno::Reference<lang::XMultiComponentFactory> xFactory =
xContext->getServiceManager();
- uno::Reference<lang::XMultiServiceFactory> xSFactory =
- uno::Reference<lang::XMultiServiceFactory> (xFactory, uno::UNO_QUERY_THROW);
+ uno::Reference<lang::XMultiServiceFactory> xSFactory(xFactory, uno::UNO_QUERY_THROW);
comphelper::setProcessServiceFactory(xSFactory);
// Create UCB (for backwards compatibility, in case some code still uses