diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-14 20:14:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-14 20:17:48 +0100 |
commit | ed64e620ea1fd077a5ffb7f756269eae89991b46 (patch) | |
tree | 66ad294959839d48b65c80cf0fbe7dfb48420902 /oox | |
parent | a113d3a7518f65acb1d2919fe3da9c6f22d6f490 (diff) |
oh for the love of...
Change-Id: I5cb90f10112afda77e68035d89cb7026d6e32eec
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/drawingml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index 1b35cac7f9cf..274453e0726d 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 |