mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-05 17:09:56 +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,
|
Converter const * Converters::getConverter(string const & from,
|
||||||
string const & to) const
|
string const & to) const
|
||||||
{
|
{
|
||||||
|
@ -58,7 +58,7 @@ public:
|
|||||||
///
|
///
|
||||||
std::string const command() const { return command_; }
|
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_; }
|
std::string const flags() const { return flags_; }
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user