From: Fridrich S. <str...@us...> - 2008-04-08 12:12:52
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29077/src/lib Modified Files: WPGraphics.cpp Log Message: Allow specifying the docdir and don't install documentation as executables (patch Michal Marek mm...@su...) + gcc 4.3 fixes Index: WPGraphics.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGraphics.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- WPGraphics.cpp 16 Nov 2007 20:19:27 -0000 1.13 +++ WPGraphics.cpp 8 Apr 2008 12:12:43 -0000 1.14 @@ -172,8 +172,8 @@ { std::ostringstream tmpOutputStream; libwpg::WPGSVGGenerator generator(tmpOutputStream); - bool result; - if (result = libwpg::WPGraphics::parse(input, &generator, fileFormat)) + bool result = libwpg::WPGraphics::parse(input, &generator, fileFormat); + if (result) output = WPGString(tmpOutputStream.str().c_str()); else output = WPGString(""); |