vbahelper/inc/vbahelper/vbaaccesshelper.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 707609c31cc144e3d39dd04d0a85b0d13c4ce4a1 Author: LuboÅ¡ LuÅák <l.lu...@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 ) );
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits