mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
Replace $${python} directly in the converter constructor
This commit is contained in:
parent
b73ab0256d
commit
79a2ac575c
@ -148,6 +148,12 @@ void Converter::readFlags()
|
||||
}
|
||||
|
||||
|
||||
void Converter::setCommand(std::string const & command)
|
||||
{
|
||||
command_ = subst(command, token_python, os::python());
|
||||
}
|
||||
|
||||
|
||||
Converter const * Converters::getConverter(string const & from,
|
||||
string const & to) const
|
||||
{
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
///
|
||||
std::string const command() const { return command_; }
|
||||
///
|
||||
void setCommand(std::string const & command) { command_ = command; }
|
||||
void setCommand(std::string const & command);
|
||||
///
|
||||
std::string const flags() const { return flags_; }
|
||||
///
|
||||
@ -144,7 +144,7 @@ public:
|
||||
FAILURE = 1,
|
||||
KILLED = 1000
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
Converter const & get(int i) const { return converterlist_[i]; }
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user