From d2ab8e1b651e6adc73974ea026435d1c9b4f3749 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 16 Mar 2015 14:49:58 +0100 Subject: [PATCH] Add missing breaks (and time for a break :-() --- src/insets/InsetPhantom.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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);