diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-07-22 23:52:18 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-07-22 23:52:18 +0200 |
commit | 27b9aaee2917d5cbf67551ce1c30650532c1560c (patch) | |
tree | ffcdf8e6b0e122da351844ea266a2868d1803985 /writerperfect | |
parent | Pick the first PREFERRED IMPORT filter. (diff) | |
download | core-27b9aaee2917d5cbf67551ce1c30650532c1560c.tar.gz core-27b9aaee2917d5cbf67551ce1c30650532c1560c.zip |
Work around a bug in libwpd's WPXPropertyList::operator=
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/filter/OdgGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/writerperfect/source/filter/OdgGenerator.cxx b/writerperfect/source/filter/OdgGenerator.cxx index 159ef49f5311..e4404e8e7f51 100644 --- a/writerperfect/source/filter/OdgGenerator.cxx +++ b/writerperfect/source/filter/OdgGenerator.cxx @@ -611,6 +611,7 @@ void OdgGenerator::endGraphics() void OdgGenerator::setStyle(const ::WPXPropertyList & propList, const ::WPXPropertyListVector& gradient) { + mpImpl->mxStyle.clear(); mpImpl->mxStyle = propList; mpImpl->mxGradient = gradient; } |