mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Simplification
This commit is contained in:
parent
ef05f7cca9
commit
5368645e70
@ -890,8 +890,7 @@ bool InsetListingsParams::isFloat() const
|
||||
|
||||
string InsetListingsParams::getParamValue(string const & param) const
|
||||
{
|
||||
// is this parameter defined?
|
||||
string par = (hasParam(param)) ? getValue(param) : string();
|
||||
string par = getValue(param);
|
||||
if (prefixIs(par, "{") && suffixIs(par, "}"))
|
||||
return par.substr(1, par.size() - 2);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user