[LyX/master] Do not forget to reset stream after std::hex

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Sep 9 15:57:30 UTC 2024


Le 09/09/2024 à 17:51, Jean-Marc Lasgouttes a écrit :
> commit f4c02d670b60a56bc6fb4a49e201c7134af1011b
> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
> Date:   Mon Sep 9 17:49:20 2024 +0200
> 
>      Do not forget to reset stream after std::hex

Riki, this is in stable to. OK to backport?

JMarc

>      
>      Spotted by Coverity scan.
> ---
>   src/frontends/qt/GuiWorkArea.cpp | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/frontends/qt/GuiWorkArea.cpp b/src/frontends/qt/GuiWorkArea.cpp
> index bb616e7abb..c643a30192 100644
> --- a/src/frontends/qt/GuiWorkArea.cpp
> +++ b/src/frontends/qt/GuiWorkArea.cpp
> @@ -1510,7 +1510,7 @@ void GuiWorkArea::inputMethodEvent(QInputMethodEvent * e)
>   
>   QVariant GuiWorkArea::inputMethodQuery(Qt::InputMethodQuery query) const
>   {
> -	LYXERR(Debug::INFO, "incoming InputMethodQuery Value: 0x" << std::hex << query);
> +	LYXERR(Debug::INFO, "incoming InputMethodQuery Value: 0x" << std::hex << query << std::dec);
>   	switch (query) {
>   	// this is the CJK-specific composition window position and
>   	// the context menu position when the menu key is pressed.



More information about the lyx-devel mailing list