From: Fridrich S. <str...@us...> - 2008-11-24 10:16:28
|
Update of /cvsroot/libwpg/libwpg/src/conv/svg In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12228/src/conv/svg Modified Files: wpg2svg.cpp Log Message: first step in the struggle to simplify libwpg api Index: wpg2svg.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/conv/svg/wpg2svg.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- wpg2svg.cpp 27 Jul 2008 20:56:16 -0000 1.5 +++ wpg2svg.cpp 24 Nov 2008 10:16:19 -0000 1.6 @@ -27,7 +27,8 @@ #include <sstream> #include <string.h> #include "libwpg.h" -#include <libwpd-stream/WPXStreamImplementation.h> +#include <libwpd-stream/libwpd-stream.h> +#include <libwpd/libwpd.h> namespace { @@ -77,7 +78,7 @@ return 1; } - libwpg::WPGString output; + ::WPXString output; if (!libwpg::WPGraphics::generateSVG(&input, output)) { std::cerr << "ERROR: SVG Generation failed!" << std::endl; |