diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-01-12 15:01:13 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-01-12 15:09:10 +0100 |
commit | e198eea5a87bff84783bd038cf134e6ea3b764ad (patch) | |
tree | 387091ab723813481a00b74bca31a63d73e117e7 /writerperfect | |
parent | 2994b7b983b6df38b9cc3c778728a1bd55a671c0 (diff) |
Logical error in writerperfect
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/filter/OdgGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/filter/OdgGenerator.cxx b/writerperfect/source/filter/OdgGenerator.cxx index 584e8cc8e74a..fbafb02087c0 100644 --- a/writerperfect/source/filter/OdgGenerator.cxx +++ b/writerperfect/source/filter/OdgGenerator.cxx @@ -948,7 +948,7 @@ void OdgGenerator::drawPath(const WPXPropertyListVector &path) void OdgGenerator::drawGraphicObject(const ::WPXPropertyList &propList, const ::WPXBinaryData &binaryData) { - if (!propList["libwpg:mime-type"] && propList["libwpg:mime-type"]->getStr().len() <= 0) + if (!propList["libwpg:mime-type"] || propList["libwpg:mime-type"]->getStr().len() <= 0) return; mpImpl->_writeGraphicsStyle(); |