Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2012 23:03:51 +0800
From:      Meowthink <meowthink@gmail.com>
To:        freebsd-office@freebsd.org
Subject:   libreoffice fonts dependency, MSO import
Message-ID:  <CABnABoba-BVuSe36EAPMHVH6W=0_Q2QVdOG1VPn2zb44fpYfRA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Yes if compiled with clang, as
ooo::vba::createVBAUnoAPIServiceWithArgs will raise an exception which
intent to be caught by SwDoc::GetVbaEventProcessor, at least compile
with gcc -fno-enforce-sh-specs - but clang won't.

There's a fix commit 707609c in master branch:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABnABoba-BVuSe36EAPMHVH6W=0_Q2QVdOG1VPn2zb44fpYfRA>