[Libreoffice-commits] .: vbahelper/inc
Lubos Lunak
llunak at kemper.freedesktop.org
Tue Mar 20 14:27:40 PDT 2012
vbahelper/inc/vbahelper/vbaaccesshelper.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 707609c31cc144e3d39dd04d0a85b0d13c4ce4a1
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Tue Mar 20 22:21:03 2012 +0100
correct exception specification on a function
It's obvious that the function above is called by this one, and the exception
it throws cannot really propagate. The solution to this mystery is the fact
that msvc doesn't give a damn, and gcc does not either since OOo has used
-fno-enforce-sh-specs since 2001. But clang does, so fix this for now,
although it should possibly be just dumped.
diff --git a/vbahelper/inc/vbahelper/vbaaccesshelper.hxx b/vbahelper/inc/vbahelper/vbaaccesshelper.hxx
index 2533b5c..761d3a2 100644
--- a/vbahelper/inc/vbahelper/vbaaccesshelper.hxx
+++ b/vbahelper/inc/vbahelper/vbaaccesshelper.hxx
@@ -51,7 +51,7 @@ namespace ooo
return xVBAFactory;
}
- VBAHELPER_DLLPRIVATE inline css::uno::Reference< css::uno::XInterface > createVBAUnoAPIServiceWithArgs( SfxObjectShell* pShell, const sal_Char* _pAsciiName, const css::uno::Sequence< css::uno::Any >& aArgs ) throw (css::uno::RuntimeException)
+ VBAHELPER_DLLPRIVATE inline css::uno::Reference< css::uno::XInterface > createVBAUnoAPIServiceWithArgs( SfxObjectShell* pShell, const sal_Char* _pAsciiName, const css::uno::Sequence< css::uno::Any >& aArgs ) throw (css::uno::Exception)
{
OSL_PRECOND( pShell, "createVBAUnoAPIService: no shell!" );
::rtl::OUString sVarName( ::rtl::OUString::createFromAscii( _pAsciiName ) );
More information about the Libreoffice-commits
mailing list