From: Fridrich S. <str...@us...> - 2010-06-06 21:59:00
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv5699 Modified Files: WPG2Parser.cpp Log Message: Fixing a logical error Index: WPG2Parser.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPG2Parser.cpp,v retrieving revision 1.105 retrieving revision 1.106 diff -u -d -r1.105 -r1.106 --- WPG2Parser.cpp 6 Jun 2010 21:23:25 -0000 1.105 +++ WPG2Parser.cpp 6 Jun 2010 21:58:51 -0000 1.106 @@ -645,7 +645,7 @@ WPXPropertyList tmpStyle = m_style; - if (context.compoundFilled) + if (!context.compoundFilled) tmpStyle.insert("draw:fill", "none"); if(context.compoundWindingRule) @@ -1330,7 +1330,7 @@ WPXPropertyList tmpStyle = m_style; - if (objCh.filled) + if (!objCh.filled) tmpStyle.insert("draw:fill", "none"); bool insideCompound = m_groupStack.empty() ? false : @@ -1428,7 +1428,7 @@ WPXPropertyList tmpStyle = m_style; - if (objCh.filled) + if (!objCh.filled) tmpStyle.insert("draw:fill", "none"); bool insideCompound = m_groupStack.empty() ? false : @@ -1505,7 +1505,7 @@ WPXPropertyList tmpStyle = m_style; - if (objCh.filled) + if (!objCh.filled) tmpStyle.insert("draw:fill", "none"); long x1 = (m_doublePrecision) ? readS32() : readS16(); @@ -1554,7 +1554,7 @@ WPXPropertyList tmpStyle = m_style; - if (objCh.filled) + if (!objCh.filled) tmpStyle.insert("draw:fill", "none"); long cx = (m_doublePrecision) ? readS32() : readS16(); |