I think this patch should go in:

Index: src/graphics/GraphicsConverter.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/graphics/GraphicsConverter.C,v
retrieving revision 1.14
diff -u -p -r1.14 GraphicsConverter.C
--- src/graphics/GraphicsConverter.C	22 Jul 2002 12:36:41 -0000	1.14
+++ src/graphics/GraphicsConverter.C	22 Jul 2002 19:15:07 -0000
@@ -25,10 +25,12 @@
 #include <boost/signals/trackable.hpp>
 
 #include "Lsstream.h"
+#include "support/LOstream.h"
 #include <fstream>
 #include <sys/types.h> // needed for pid_t
 
 using std::endl;
+using std::ostream;
 
 namespace grfx {
 
@@ -114,7 +116,7 @@ namespace {
  */
 bool build_script(string const & from_file, string const & to_file_base,
 		  string const & from_format, string const & to_format,
-		  ostringstream & script);
+		  ostream & script);
 
 } // namespace anon
 
@@ -256,11 +258,12 @@ string const move_file(string const & fr
 	return command.str().c_str();
 }
 
+
 bool build_script(string const & from_file,
 		  string const & to_file_base,
 		  string const & from_format,
 		  string const & to_format,
-		  ostringstream & script)
+		  ostream & script)
 {
 	lyxerr[Debug::GRAPHICS] << "build_script ... ";
 	typedef Converters::EdgePath EdgePath;

-- 
        Lgb

Reply via email to