namespace graphics {
-class Converter::Impl : public boost::signals::trackable {
+class Converter::Impl : public boost::signals2::trackable {
public:
///
Impl(FileName const &, string const &, string const &, string const &);
/** At the end of the conversion process inform the outside world
* by emitting a signal.
*/
- typedef boost::signal<void(bool)> SignalType;
+ typedef boost::signals2::signal<void(bool)> SignalType;
///
SignalType finishedConversion;
}
-boost::signals::connection Converter::connect(slot_type const & slot) const
+boost::signals2::connection Converter::connect(slot_type const & slot) const
{
return pimpl_->finishedConversion.connect(slot);
}
ostringstream os;
os << os::python() << ' '
<< commandPrep("$$s/scripts/convertDefault.py") << ' ';
- if (!from_format.empty())
- os << strip_digit(from_format) << ':';
+ if (from_format.empty())
+ os << "unknown ";
+ else
+ os << strip_digit(from_format) << ' ';
// The extra " quotes around infile and outfile are needed
// because the filename may contain spaces and it is used
// as argument of os.system().
os << "' + '\"' + infile + '\"' + ' "
- << strip_digit(to_format) << ":' + '\"' + outfile + '\"' + '";
+ << strip_digit(to_format) << " ' + '\"' + outfile + '\"' + '";
string const command = os.str();
LYXERR(Debug::GRAPHICS,