[LyX/2.4.x] Squash gcc warning.

Pavel Sanda sanda at lyx.org
Thu Jul 25 09:52:27 UTC 2024


commit df313e9920aa44473a1a22fb0ca3c3a4e278a243
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 9f6ffbb901..bf70d000c6 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();


More information about the lyx-cvs mailing list