please Abdel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33463 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-02-13 13:38:01 +00:00
parent 5fe40522fe
commit 7369a0a881

View File

@ -269,7 +269,9 @@ docstring nomenclWidest(Buffer const & buffer, OutputParams const & runparams)
}
}
// return the widest (or an empty) string
if (!symb.empty()) {
if (symb.empty())
return symb;
docstring latex_symb;
for (size_t n = 0; n < symb.size(); ++n) {
try {
@ -285,9 +287,7 @@ docstring nomenclWidest(Buffer const & buffer, OutputParams const & runparams)
}
return latex_symb;
}
return symb;
}
}
} // namespace anon
int InsetPrintNomencl::latex(odocstream & os, OutputParams const & runparams_in) const