Another lacking parenthesis

Change-Id: If5944101688b0219d2476e5c3b29f704634c3bcc
This commit is contained in:
Julien Nabet
2013-01-20 15:23:12 +01:00
parent 15e0f6d593
commit 3207c85fc9
2 changed files with 2 additions and 3 deletions

View File

@@ -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);

View File

@@ -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 );