From owner-freebsd-office@FreeBSD.ORG Wed Apr 25 15:03:51 2012 Return-Path: Delivered-To: freebsd-office@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E09571065674 for ; Wed, 25 Apr 2012 15:03:51 +0000 (UTC) (envelope-from meowthink@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id AAE6E8FC1C for ; Wed, 25 Apr 2012 15:03:51 +0000 (UTC) Received: by iahk25 with SMTP id k25so254061iah.13 for ; Wed, 25 Apr 2012 08:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wsDu7BPz3A7jRioIz4HIhUA20rWieTAiM+OKKBTwXsQ=; b=xZeh8k8dt1E9fhcgc2CJ6oyAvsULxj0MV9FqPvPZT/hDXErHJ52s5G49MMwra02t70 r45Vn6+HdWN6E5cl2mLK1Z995PKYcaOet2UB+eUoyCCR4l2Uu6f7a9fXaHN76N2qLEp3 NwJZ2C/1XG1DVvbDWAAkF60WDwszJiAh/E0x0GA01VgG5Fl/NmhMJccD1s28wKIG53Iy Vw6XLZtMztQu3dDTps5s3VpwJaH9s/ch3aQTJCkmioW+awhcv0BAYQZjmo/ejmtDeq8n RePFz2VBVdJ1hOhWwutELbccSGu4fvMO7itmGY4LJV6VVEnTRosddI8tWqd7+Ax7l2pP qKtg== MIME-Version: 1.0 Received: by 10.50.193.234 with SMTP id hr10mr731133igc.14.1335366231247; Wed, 25 Apr 2012 08:03:51 -0700 (PDT) Received: by 10.64.81.110 with HTTP; Wed, 25 Apr 2012 08:03:51 -0700 (PDT) Date: Wed, 25 Apr 2012 23:03:51 +0800 Message-ID: From: Meowthink To: freebsd-office@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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 15:03:52 -0000 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 ) );