oox/source/export/drawingml.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ed64e620ea1fd077a5ffb7f756269eae89991b46 Author: Caolán McNamara <caol...@redhat.com> Date: Mon Jul 14 20:14:56 2014 +0100 oh for the love of... Change-Id: I5cb90f10112afda77e68035d89cb7026d6e32eec diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 1b35cac..274453e 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -809,7 +809,7 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic , bool bRelPathToMedia ) break; default: { GraphicType aType = rGraphic.GetType(); - if ( aType == GRAPHIC_BITMAP && GRAPHIC_GDIMETAFILE) { + if ( aType == GRAPHIC_BITMAP || aType == GRAPHIC_GDIMETAFILE) { bool bSwapped = rGraphic.IsSwapOut(); //Warn rather than just happily swap in because of the comments
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits