mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 15:01:58 +00:00
Add missing breaks (and time for a break :-()
This commit is contained in:
parent
fd5d47d182
commit
d2ab8e1b65
@ -339,12 +339,16 @@ int InsetPhantom::plaintext(odocstringstream & os,
|
|||||||
switch (params_.type) {
|
switch (params_.type) {
|
||||||
case InsetPhantomParams::Phantom:
|
case InsetPhantomParams::Phantom:
|
||||||
os << '[' << buffer().B_("phantom") << ":";
|
os << '[' << buffer().B_("phantom") << ":";
|
||||||
|
break;
|
||||||
case InsetPhantomParams::HPhantom:
|
case InsetPhantomParams::HPhantom:
|
||||||
os << '[' << buffer().B_("hphantom") << ":";
|
os << '[' << buffer().B_("hphantom") << ":";
|
||||||
|
break;
|
||||||
case InsetPhantomParams::VPhantom:
|
case InsetPhantomParams::VPhantom:
|
||||||
os << '[' << buffer().B_("vphantom") << ":";
|
os << '[' << buffer().B_("vphantom") << ":";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
os << '[' << buffer().B_("phantom") << ":";
|
os << '[' << buffer().B_("phantom") << ":";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
InsetCollapsable::plaintext(os, runparams, max_length);
|
InsetCollapsable::plaintext(os, runparams, max_length);
|
||||||
os << "]";
|
os << "]";
|
||||||
@ -362,6 +366,7 @@ int InsetPhantom::docbook(odocstream & os, OutputParams const & runparams) const
|
|||||||
case InsetPhantomParams::VPhantom:
|
case InsetPhantomParams::VPhantom:
|
||||||
default:
|
default:
|
||||||
cmdname = "phantom";
|
cmdname = "phantom";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
os << "<" + cmdname + ">";
|
os << "<" + cmdname + ">";
|
||||||
int const i = InsetCollapsable::docbook(os, runparams);
|
int const i = InsetCollapsable::docbook(os, runparams);
|
||||||
|
Loading…
Reference in New Issue
Block a user