/**
- * \file GraphicsConverter.C
+ * \file GraphicsConverter.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Angus Leeming
+ * \author Angus Leeming
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "GraphicsConverter.h"
#include "converter.h"
-#include "format.h"
#include "debug.h"
+#include "format.h"
#include "support/filetools.h"
-#include "support/forkedcall.h"
#include "support/forkedcallqueue.h"
#include "support/tostr.h"
#include "support/lstrings.h"
#include "support/lyxlib.h"
#include <boost/bind.hpp>
-#include <boost/signals/trackable.hpp>
-#include "Lsstream.h"
-#include "support/LOstream.h"
+#include "support/std_sstream.h"
#include <fstream>
-#include <sys/types.h> // needed for pid_t
-using namespace lyx::support;
+namespace support = lyx::support;
+
+using support::ChangeExtension;
+using support::Forkedcall;
+using support::ForkedCallQueue;
+using support::LibFileSearch;
+using support::LibScriptSearch;
+using support::OnlyPath;
+using support::OnlyFilename;
+using support::QuoteName;
+using support::subst;
+using support::tempName;
+using support::unlink;
using std::endl;
using std::ostream;
+using std::ostringstream;
+
namespace lyx {
namespace graphics {
lyxerr[Debug::GRAPHICS] << "\tConversion script:"
<< "\n--------------------------------------\n"
- << STRCONV(script.str())
+ << script.str()
<< "\n--------------------------------------\n";
// Output the script to file.
if (!fs.good())
return;
- fs << STRCONV(script.str());
+ fs << script.str();
fs.close();
// The command needed to run the conversion process
<< "\t'rm' -f ${fromfile}\n"
<< "}\n";
- return STRCONV(command.str());
+ return command.str();
}