d07df49824
* impress-table-performance.patch - bnc#863018 - LO-L3: Missing text in imported .doc file * WW8-import-fix-upper-margin-of-multi-page.patch - bnc#875717 - LO-L3: DOCX import: font size of numbering is bigger * direct-format-numbering.patch - bnc#875718 - LO-L3: DOCX import: extra page numbers * discard-more-header-footer-stuff.patch - Security update CVE-2014-0247 * Use-varying-aElement-name.patch OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=157
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
From eeac58b5261e80ded0381e2be7f1fa3e6f0e9bb4 Mon Sep 17 00:00:00 2001
|
|
From: Stephan Bergmann <sbergman@redhat.com>
|
|
Date: Tue, 20 May 2014 14:55:40 +0200
|
|
Subject: [PATCH] Use varying aElement name
|
|
|
|
Change-Id: Idc135ef5031a01961cc18d897a734b598bc833f4
|
|
---
|
|
sfx2/source/doc/docmacromode.cxx | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/sfx2/source/doc/docmacromode.cxx b/sfx2/source/doc/docmacromode.cxx
|
|
index 39d2b6d..8f87197 100644
|
|
--- a/sfx2/source/doc/docmacromode.cxx
|
|
+++ b/sfx2/source/doc/docmacromode.cxx
|
|
@@ -343,7 +343,7 @@ namespace sfx2
|
|
if( aElement == aStdLibName || aElement == aVBAProject )
|
|
{
|
|
Reference < XNameAccess > xLib;
|
|
- Any aAny = xContainer->getByName( aStdLibName );
|
|
+ Any aAny = xContainer->getByName( aElement );
|
|
aAny >>= xLib;
|
|
if ( xLib.is() && xLib->hasElements() )
|
|
return sal_True;
|
|
--
|
|
1.8.4.5
|
|
|