[Libreoffice-commits] .: writerperfect/source

Fridrich Strba fridrich at kemper.freedesktop.org
Fri Jul 22 14:52:44 PDT 2011


 writerperfect/source/filter/OdgGenerator.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6a11d943c7bdc9c6ac87ab40e1c2d57de41f9d9e
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Fri Jul 22 23:52:18 2011 +0200

    Work around a bug in libwpd's WPXPropertyList::operator=

diff --git a/writerperfect/source/filter/OdgGenerator.cxx b/writerperfect/source/filter/OdgGenerator.cxx
index 159ef49..e4404e8 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;
 }


More information about the Libreoffice-commits mailing list