Date: Thu, 26 Apr 2012 00:36:22 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Meowthink <meowthink@gmail.com> Cc: freebsd-office@FreeBSD.org Subject: Re: libreoffice fonts dependency, MSO import Message-ID: <20120425223622.GE14984@azathoth.lan> In-Reply-To: <CABnABoba-BVuSe36EAPMHVH6W=0_Q2QVdOG1VPn2zb44fpYfRA@mail.gmail.com> References: <CABnABoba-BVuSe36EAPMHVH6W=0_Q2QVdOG1VPn2zb44fpYfRA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--XuV1QlJbYrcVoo+x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 25, 2012 at 11:03:51PM +0800, Meowthink wrote: > 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. >=20 > There's a fix commit 707609c in master branch: >=20 > 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; > } >=20 > - 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 ) ); > _______________________________________________ > freebsd-office@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-office > To unsubscribe, send any mail to "freebsd-office-unsubscribe@freebsd.org" Thank you very much I'll try this tomorrow, I wasn't able to figure it out!= !! Thanks a lot, Bapt --XuV1QlJbYrcVoo+x Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+YfGYACgkQ8kTtMUmk6EwrSgCgvemUnykz6kvi67AnEh814eyi wigAn1BhFmkiTB5pnIgdF3eN5ZvOHBfk =4F7y -----END PGP SIGNATURE----- --XuV1QlJbYrcVoo+x--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120425223622.GE14984>