>From 83c6e1d5ab69429fcae33bda26fcbdb6dbd97099 Mon Sep 17 00:00:00 2001
From: Thomas Arnhold <[email protected]>
Date: Sun, 16 Jan 2011 20:55:22 +0100
Subject: [PATCH] Correct bracket closing.
---
sc/source/ui/vba/vbahelper.cxx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sc/source/ui/vba/vbahelper.cxx b/sc/source/ui/vba/vbahelper.cxx
index e602573..4c8fe06 100644
--- a/sc/source/ui/vba/vbahelper.cxx
+++ b/sc/source/ui/vba/vbahelper.cxx
@@ -82,7 +82,7 @@ getIntrospectionAccess( const uno::Any& aObject ) throw
(uno::RuntimeException)
if( !xIntrospection.is() )
{
uno::Reference< lang::XMultiServiceFactory > xFactory(
comphelper::getProcessServiceFactory(), uno::UNO_QUERY_THROW );
- xIntrospection.set( xFactory->createInstance(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.Introspection")
), uno::UNO_QUERY_THROW );
+ xIntrospection.set( xFactory->createInstance( rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("com.sun.star.beans.Introspection") ) ),
uno::UNO_QUERY_THROW );
}
return xIntrospection->inspect( aObject );
}
@@ -279,7 +279,7 @@ getCurrentDocument() throw (uno::RuntimeException)
// test if vba service is present
uno::Reference< uno::XComponentContext > xCtx(
xProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
"DefaultContext" ))), uno::UNO_QUERY_THROW );
uno::Reference<lang::XMultiComponentFactory > xSMgr(
xCtx->getServiceManager(), uno::UNO_QUERY_THROW );
- uno::Reference< frame::XDesktop > xDesktop
(xSMgr->createInstanceWithContext(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(("com.sun.star.frame.Desktop")),
xCtx), uno::UNO_QUERY_THROW );
+ uno::Reference< frame::XDesktop > xDesktop
(xSMgr->createInstanceWithContext(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.Desktop")),
xCtx), uno::UNO_QUERY_THROW );
xModel.set( xDesktop->getCurrentComponent(), uno::UNO_QUERY );
if ( !xModel.is() )
{
--
1.7.3.5
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice