commit d2ab8e1b651e6adc73974ea026435d1c9b4f3749
Author: Juergen Spitzmueller <[email protected]>
Date: Mon Mar 16 14:49:58 2015 +0100
Add missing breaks (and time for a break :-()
diff --git a/src/insets/InsetPhantom.cpp b/src/insets/InsetPhantom.cpp
index c1da301..040c596 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);