[LyX/master] Clarify debug message
Jürgen Spitzmüller
spitz at lyx.org
Sun Feb 27 14:15:58 UTC 2022
Thibaut, you might want to introduce a Debug::DOCBOOK mode rather than
sending these messages over all channels (also, in other cases, the
docbook chain uses Debug::LATEX which strikes me odd).
Jürgen
Am Sonntag, dem 27.02.2022 um 14:39 +0100 schrieb Juergen Spitzmueller:
> commit 9cd479a044e76601d3ad625181918c26c4e551b0
> Author: Juergen Spitzmueller <spitz at lyx.org>
> Date: Sun Feb 27 15:12:33 2022 +0100
>
> Clarify debug message
> ---
> src/Floating.cpp | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/Floating.cpp b/src/Floating.cpp
> index 6a14708..8554503 100644
> --- a/src/Floating.cpp
> +++ b/src/Floating.cpp
> @@ -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("Unrecognised float type: " +
> floattype_);
> + LYXERR0("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("Unrecognised float type: " + floattype());
> + LYXERR0("Float type '" + floattype() + "' unknown to
> DocBook!");
> return "float";
> }
> }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220227/8d1cc522/attachment-0001.asc>
More information about the lyx-devel
mailing list