summaryrefslogtreecommitdiff
path: root/extensions/source/update/check/updatecheck.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/update/check/updatecheck.cxx')
-rw-r--r--extensions/source/update/check/updatecheck.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index bbeaf3565cac..b77bcc286b36 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -196,8 +196,7 @@ uno::Reference< beans::XPropertySet > createMenuBarUI(
throw uno::RuntimeException(
"UpdateCheckJob: unable to obtain service manager from component context", uno::Reference< uno::XInterface > () );
- uno::Reference< beans::XPropertySet > xMenuBarUI =
- uno::Reference< beans::XPropertySet > (
+ uno::Reference< beans::XPropertySet > xMenuBarUI(
xServiceManager->createInstanceWithContext( "com.sun.star.setup.UpdateCheckUI", xContext ),
uno::UNO_QUERY_THROW);