[LyX/master] Squash gcc warning.

Pavel Sanda sanda at lyx.org
Wed Jul 24 17:55:21 UTC 2024


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();


More information about the lyx-cvs mailing list