]> git.lyx.org Git - features.git/commitdiff
Fix compiler warning (gcc 7)
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 3 May 2017 12:51:03 +0000 (14:51 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 3 May 2017 12:51:03 +0000 (14:51 +0200)
src/insets/InsetIPAMacro.cpp

index 7852486b7d60ce7333f3a4c12a6d826706bdb3d0..06296ed3a12be3b2db007c7b5ff0cf02043d6c7b 100644 (file)
@@ -543,13 +543,13 @@ int InsetIPAChar::plaintext(odocstringstream & os, OutputParams const &, size_t)
 int InsetIPAChar::docbook(odocstream & /*os*/, OutputParams const &) const
 {
        switch (kind_) {
-       // FIXME
-       LYXERR0("IPA tone macros not yet implemented with DocBook!");
        case TONE_FALLING:
        case TONE_RISING:
        case TONE_HIGH_RISING:
        case TONE_LOW_RISING:
        case TONE_HIGH_RISING_FALLING:
+               // FIXME
+               LYXERR0("IPA tone macros not yet implemented with DocBook!");
                break;
        }
        return 0;