Fix indentation

(cherry picked from commit bfd855747a)
This commit is contained in:
Juergen Spitzmueller 2024-09-08 16:00:36 +02:00 committed by Richard Kimberly Heck
parent 806a67c75b
commit 16281b4cf1

View File

@ -287,7 +287,7 @@ void InsetRef::latex(otexstream & os, OutputParams const & rp) const
getFormattedCmd(data, label, prefix, use_refstyle, use_caps); getFormattedCmd(data, label, prefix, use_refstyle, use_caps);
os << fcmd; os << fcmd;
if (use_refstyle && use_plural) if (use_refstyle && use_plural)
os << "[s]"; os << "[s]";
os << '{' << label << '}'; os << '{' << label << '}';
} }
else if (cmd == "labelonly") { else if (cmd == "labelonly") {
@ -298,7 +298,7 @@ void InsetRef::latex(otexstream & os, OutputParams const & rp) const
docstring prefix; docstring prefix;
docstring suffix = split(ref, prefix, ':'); docstring suffix = split(ref, prefix, ':');
if (suffix.empty()) { if (suffix.empty()) {
LYXERR0("Label `" << ref << "' contains no `:' separator."); LYXERR0("Label `" << ref << "' contains no `:' separator.");
os << ref; os << ref;
} else { } else {
os << suffix; os << suffix;