diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-03-20 22:21:03 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-03-20 22:26:53 +0100 |
commit | 707609c31cc144e3d39dd04d0a85b0d13c4ce4a1 (patch) | |
tree | c983a568851ee359bd51e508d32e641c280bfa71 /vbahelper | |
parent | 7fbdd5ec0349e21af02bfa61bfe575e3cbd0cdeb (diff) |
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.
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/inc/vbahelper/vbaaccesshelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/inc/vbahelper/vbaaccesshelper.hxx b/vbahelper/inc/vbahelper/vbaaccesshelper.hxx index 2533b5cde180..761d3a2e0c3f 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 ) ); |