[Libreoffice-commits] core.git: oox/source
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Sun Mar 7 20:32:45 UTC 2021
oox/source/helper/graphichelper.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1238ca8d100c107656b707ed3a6b662f0a1867fb
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Fri Mar 5 18:31:41 2021 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Sun Mar 7 21:32:05 2021 +0100
Revert "tdf#126310 Disable lazy loading of WMF images"
This reverts commit 184a4771dad448a37f80b29bc62ad62e0a6a4bb6.
Reason for revert: The problem is no longer reproducible as described
here: https://bugs.documentfoundation.org/show_bug.cgi?id=138515#c3
It also needs to be reverted in order to get tdf#138515 fixed,
although it doesn't fix the problem
Change-Id: I7bb678f1a19ae3609064449cfc5e71e0ba8c9de2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111931
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/oox/source/helper/graphichelper.cxx b/oox/source/helper/graphichelper.cxx
index 82978a76451e..17cf66c92e44 100644
--- a/oox/source/helper/graphichelper.cxx
+++ b/oox/source/helper/graphichelper.cxx
@@ -301,9 +301,9 @@ Reference< XGraphic > GraphicHelper::importEmbeddedGraphic( const OUString& rStr
xGraphic = mxGraphicMapper->findGraphic(rStreamName);
if (!xGraphic.is())
{
- // Lazy-loading doesn't work with TIFF or WMF at the moment.
+ // Lazy-loading doesn't work with TIFF at the moment.
WmfExternal aHeader;
- if ( (rStreamName.endsWith(".tiff") || rStreamName.endsWith(".wmf") ) && !pExtHeader)
+ if (rStreamName.endsWith(".tiff") && !pExtHeader)
pExtHeader = &aHeader;
auto xStream = mxStorage->openInputStream(rStreamName);
More information about the Libreoffice-commits
mailing list