From owner-freebsd-office@FreeBSD.ORG Wed Apr 25 22:36:26 2012 Return-Path: Delivered-To: freebsd-office@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE15C1065670 for ; Wed, 25 Apr 2012 22:36:26 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 780788FC08; Wed, 25 Apr 2012 22:36:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3PMaQFS037483; Wed, 25 Apr 2012 22:36:26 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3PMaQi5037481; Wed, 25 Apr 2012 22:36:26 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Thu, 26 Apr 2012 00:36:22 +0200 From: Baptiste Daroussin To: Meowthink Message-ID: <20120425223622.GE14984@azathoth.lan> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XuV1QlJbYrcVoo+x" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-office@FreeBSD.org Subject: Re: libreoffice fonts dependency, MSO import X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2012 22:36:26 -0000 --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--