r18042 by craig - Initialise pageitem var to null prior to use
scribus-commit
scribus-commit at lists.scribus.net
Thu Jan 3 17:44:50 UTC 2013
Author: craig
Date: Thu Jan 3 17:44:50 2013
New Revision: 18042
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18042
Log:
Initialise pageitem var to null prior to use
Modified:
trunk/Scribus/scribus/canvasmode_normal.cpp
Modified: trunk/Scribus/scribus/canvasmode_normal.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18042&path=/trunk/Scribus/scribus/canvasmode_normal.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_normal.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_normal.cpp Thu Jan 3 17:44:50 2013
@@ -305,7 +305,7 @@
m_lastPosWasOverGuide = false;
double newX, newY;
- PageItem *currItem;
+ PageItem *currItem=NULL;
bool erf = false;
m->accept();
// qDebug() << "legacy mode move:" << m->x() << m->y() << m_canvas->globalToCanvas(m->globalPos()).x() << m_canvas->globalToCanvas(m->globalPos()).y();
More information about the scribus-commit
mailing list