[LyX/master] Squash gcc warning.

Pavel Sanda sanda at lyx.org
Wed Jul 24 17:56:00 UTC 2024


On Wed, Jul 24, 2024 at 05:55:21PM +0000, Pavel Sanda wrote:
> commit 307d59cdb9a51105404d8e82a48a6c619c9df0f7
> Author: Pavel Sanda <sanda at lyx.org>
> Date:   Wed Jul 24 19:55:05 2024 +0200
> 
>     Squash gcc warning.
> ---
>  src/insets/InsetGraphicsParams.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/insets/InsetGraphicsParams.cpp b/src/insets/InsetGraphicsParams.cpp
> index ab2c9ff29c..3741ab1186 100644
> --- a/src/insets/InsetGraphicsParams.cpp
> +++ b/src/insets/InsetGraphicsParams.cpp
> @@ -76,7 +76,7 @@ void InsetGraphicsParams::init()
>  	clip = false;			// clip image
>  	darkModeSensitive = false;	// dark mode dependency
>  
> -	rotateAngle = "0";		// angle of rotation in degrees
> +	rotateAngle = string("0");	// angle of rotation in degrees
>  	rotateOrigin.erase();		// Origin of rotation
>  	special.erase();		// additional userdefined stuff
>  	groupId.clear();

Riki, this should go to branch as well.
Pavel


More information about the lyx-devel mailing list