]> git.lyx.org Git - lyx.git/commitdiff
Remove dead code
authorJean-Marc <lasgouttes@lyx.org>
Sat, 12 Sep 2015 16:29:02 +0000 (18:29 +0200)
committerJean-Marc <lasgouttes@lyx.org>
Sat, 12 Sep 2015 16:29:02 +0000 (18:29 +0200)
first is always false at this point.

Coverity issue 23298.

src/Layout.cpp

index 17be45c2270fc77efd999c7da41acd8f260b3ffa..0fdb3412e7ed5b3c4eb6c153cbf54a5576e6f29d 100644 (file)
@@ -1265,8 +1265,6 @@ void Layout::write(ostream & os) const
                bool first = true;
                os << "\tAlignPossible";
                if (alignpossible & LYX_ALIGN_BLOCK) {
-                       if (!first)
-                               os << ',';
                        os << " Block";
                        first = false;
                }