]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.cpp
Differentiate backups from autosave files (#12659)
[lyx.git] / src / Floating.cpp
index 85545030925ceadecd99e4ebe9fa1bedfaf3da8b..df48a2b74d6d8c6930a0fbcde933a4397e1b7fb3 100644 (file)
@@ -69,7 +69,7 @@ Floating::Floating(string const & type, string const & placement,
                        docbook_float_type_ = "video";
                } else {
                        // If nothing matches, return something that will not be valid.
-                       LYXERR0("Float type '" + floattype_ + "' unknown to DocBook!");
+                       LYXERR(Debug::OUTFILE, "Float type '" + floattype_ + "' unknown to DocBook!");
                        docbook_float_type_ = "unknown";
                }
        }
@@ -159,7 +159,7 @@ string Floating::docbookTag(bool hasTitle) const
                return hasTitle ? "table" : "informaltable";
        } else {
                // If nothing matches, return something that will not be valid.
-               LYXERR0("Float type '" + floattype() + "' unknown to DocBook!");
+               LYXERR(Debug::OUTFILE, "Float type '" + floattype() + "' unknown to DocBook!");
                return "float";
        }
 }