r20759 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Jan 29 22:35:03 UTC 2016


Author: jghali
Date: Fri Jan 29 22:35:03 2016
New Revision: 20759

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20759
Log:
fix uninitialized scalar field <coverity>

Modified:
    trunk/Scribus/scribus/canvasmode_edit.cpp
    trunk/Scribus/scribus/canvasmode_edit.h

Modified: trunk/Scribus/scribus/canvasmode_edit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20759&path=/trunk/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_edit.cpp	Fri Jan 29 22:35:03 2016
@@ -398,7 +398,6 @@
 // 	const double mouseY = m->globalY();
 	const FPoint mousePointDoc = m_canvas->globalToCanvas(m->globalPos());
 	
-	m_lastPosWasOverGuide = false;
 	double newX, newY;
 	PageItem *currItem;
 	//bool erf = false;

Modified: trunk/Scribus/scribus/canvasmode_edit.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20759&path=/trunk/Scribus/scribus/canvasmode_edit.h
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.h	(original)
+++ trunk/Scribus/scribus/canvasmode_edit.h	Fri Jan 29 22:35:03 2016
@@ -73,7 +73,6 @@
 	bool m_cursorVisible;
 	QTime m_blinkTime;
 	QTimer* m_blinker;
-	bool m_lastPosWasOverGuide;
 	double mRulerGuide;
 	bool m_longCursorTime;
 	bool m_keyRepeat;




More information about the scribus-commit mailing list