Simplification

This commit is contained in:
Juergen Spitzmueller 2014-05-07 08:09:04 +02:00
parent ef05f7cca9
commit 5368645e70

View File

@ -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