From: Fridrich S. <str...@us...> - 2010-06-21 21:07:33
|
Update of /cvsroot/libwpg/perfectspot/src/odg In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv22309/src/odg Modified Files: OdgExporter.cxx Log Message: fix a warning Index: OdgExporter.cxx =================================================================== RCS file: /cvsroot/libwpg/perfectspot/src/odg/OdgExporter.cxx,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- OdgExporter.cxx 17 Jun 2010 10:33:55 -0000 1.13 +++ OdgExporter.cxx 21 Jun 2010 21:07:25 -0000 1.14 @@ -649,6 +649,7 @@ } if(mxStyle["draw:fill"] && mxStyle["draw:fill"]->getStr() == "gradient") + { if (mxGradient.count() >= 2) { pStyleGraphicsPropertiesElement->addAttribute("draw:fill", "gradient"); @@ -657,6 +658,7 @@ } else pStyleGraphicsPropertiesElement->addAttribute("draw:fill", "none"); + } mGraphicsAutomaticStyles.push_back(pStyleGraphicsPropertiesElement); mGraphicsAutomaticStyles.push_back(new TagCloseElement("style:graphic-properties")); |