r20912 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Sat Feb 6 23:38:52 UTC 2016
Author: jghali
Date: Sat Feb 6 23:38:52 2016
New Revision: 20912
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20912
Log:
coverity #1350765: uninitialized scalar field
Modified:
trunk/Scribus/scribus/canvasgesture_resize.cpp
Modified: trunk/Scribus/scribus/canvasgesture_resize.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20912&path=/trunk/Scribus/scribus/canvasgesture_resize.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_resize.cpp (original)
+++ trunk/Scribus/scribus/canvasgesture_resize.cpp Sat Feb 6 23:38:52 2016
@@ -37,6 +37,13 @@
ResizeGesture::ResizeGesture (CanvasMode* parent) : CanvasGesture(parent)
{
+ m_handle = Canvas::INSIDE;
+ m_rotation = 0.0;
+ m_origRatio = 1.0;
+ m_extraWidth = 0.0;
+ m_extraHeight = 0.0;
+ m_extraX = 0.0;
+ m_extraY = 0.0;
m_transaction = UndoTransaction();
}
More information about the scribus-commit
mailing list