]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetListingsParams.cpp
Simplification
[features.git] / src / insets / InsetListingsParams.cpp
index 572a806cffad04d5d2011e6f177ea75eca12d6f5..a24d43fb0c40eb876910f63f0f66eba6e4e30c8f 100644 (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