From: Juergen Spitzmueller Date: Mon, 16 Mar 2015 13:49:58 +0000 (+0100) Subject: Add missing breaks (and time for a break :-() X-Git-Tag: 2.2.0alpha1~1154 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d2ab8e1b651e6adc73974ea026435d1c9b4f3749;p=features.git Add missing breaks (and time for a break :-() --- diff --git a/src/insets/InsetPhantom.cpp b/src/insets/InsetPhantom.cpp index c1da301957..040c596b8d 100644 --- a/src/insets/InsetPhantom.cpp +++ b/src/insets/InsetPhantom.cpp @@ -339,12 +339,16 @@ int InsetPhantom::plaintext(odocstringstream & os, switch (params_.type) { case InsetPhantomParams::Phantom: os << '[' << buffer().B_("phantom") << ":"; + break; case InsetPhantomParams::HPhantom: os << '[' << buffer().B_("hphantom") << ":"; + break; case InsetPhantomParams::VPhantom: os << '[' << buffer().B_("vphantom") << ":"; + break; default: os << '[' << buffer().B_("phantom") << ":"; + break; } InsetCollapsable::plaintext(os, runparams, max_length); os << "]"; @@ -362,6 +366,7 @@ int InsetPhantom::docbook(odocstream & os, OutputParams const & runparams) const case InsetPhantomParams::VPhantom: default: cmdname = "phantom"; + break; } os << "<" + cmdname + ">"; int const i = InsetCollapsable::docbook(os, runparams);