Kaydet (Commit) 3207c85f authored tarafından Julien Nabet's avatar Julien Nabet

Another lacking parenthesis

Change-Id: If5944101688b0219d2476e5c3b29f704634c3bcc
üst 15e0f6d5
...@@ -431,7 +431,7 @@ void fillUnoException( ...@@ -431,7 +431,7 @@ void fillUnoException(
} }
if (type == NULL || type->eTypeClass != typelib_TypeClass_EXCEPTION) { if (type == NULL || type->eTypeClass != typelib_TypeClass_EXCEPTION) {
css::uno::RuntimeException exc( css::uno::RuntimeException exc(
"Not a UNO exception type: " + name), "Not a UNO exception type: " + name,
css::uno::Reference< css::uno::XInterface >()); css::uno::Reference< css::uno::XInterface >());
uno_type_any_constructAndConvert( uno_type_any_constructAndConvert(
unoException, &exc, getCppuType(&exc).getTypeLibType(), cppToUno); unoException, &exc, getCppuType(&exc).getTypeLibType(), cppToUno);
......
...@@ -430,8 +430,7 @@ void DemoWindow::init() ...@@ -430,8 +430,7 @@ void DemoWindow::init()
{ {
if( !mxShow.is() ) if( !mxShow.is() )
{ {
uno::Reference< uno::XComponentContext > xContext =( uno::Reference< uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext();
::comphelper::getProcessComponentContext());
mxShow.set( presentation::SlideShow::create(xContext), mxShow.set( presentation::SlideShow::create(xContext),
uno::UNO_QUERY_THROW ); uno::UNO_QUERY_THROW );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment