mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
2002-07-22 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* GraphicsConverter.C (build_script): take a ostream as a more general argument than ostringstream. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4750 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1e5bcef101
commit
3c22b7dc3b
@ -1,3 +1,8 @@
|
||||
2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
||||
|
||||
* GraphicsConverter.C (build_script): take a ostream as a more
|
||||
general argument than ostringstream.
|
||||
|
||||
2002-07-22 Herbert Voss <voss@lyx.org>
|
||||
|
||||
* GraphicsConverter.C: get the "default converter" run again
|
||||
|
@ -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 & from_file, string const & to_file)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user