summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-07-22 23:52:18 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-07-22 23:52:18 +0200
commit27b9aaee2917d5cbf67551ce1c30650532c1560c (patch)
treeffcdf8e6b0e122da351844ea266a2868d1803985 /writerperfect
parent2384b0e2571020560574a27257c6b79f60bcbd5d (diff)
Work around a bug in libwpd's WPXPropertyList::operator=
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/filter/OdgGenerator.cxx1
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;
}