]> git.lyx.org Git - features.git/commitdiff
Add missing breaks (and time for a break :-()
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 16 Mar 2015 13:49:58 +0000 (14:49 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 16 Mar 2015 13:49:58 +0000 (14:49 +0100)
src/insets/InsetPhantom.cpp

index c1da30195755ea0195a4410ca796b8f858fd13d7..040c596b8d69e6daea5fd716c05ea50765797025 100644 (file)
@@ -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);