r20758 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Fri Jan 29 22:33:31 UTC 2016
Author: jghali
Date: Fri Jan 29 22:33:31 2016
New Revision: 20758
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20758
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=20758&path=/trunk/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_edit.cpp Fri Jan 29 22:33:31 2016
@@ -65,12 +65,14 @@
{
Mxp = Myp = -1;
Dxp = Dyp = -1;
+ SeRx = SeRy = -1;
oldCp = Cp = -1;
frameResizeHandle = -1;
m_blinker = new QTimer(view);
connect(m_blinker, SIGNAL(timeout()), this, SLOT(blinkTextCursor()));
connect(view->horizRuler, SIGNAL(MarkerMoved(double, double)), this, SLOT(rulerPreview(double, double)));
mRulerGuide = -1;
+ m_cursorVisible = false;
m_longCursorTime = false;
m_keyRepeat = false;
}
@@ -285,7 +287,7 @@
}
mRulerGuide = -1;
PageItem * it(0);
- if(GetItem(&it))
+ if (GetItem(&it))
{
if (it->asTextFrame())
{
Modified: trunk/Scribus/scribus/canvasmode_edit.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20758&path=/trunk/Scribus/scribus/canvasmode_edit.h
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.h (original)
+++ trunk/Scribus/scribus/canvasmode_edit.h Fri Jan 29 22:33:31 2016
@@ -67,7 +67,6 @@
int Cp, oldCp;
int frameResizeHandle;
- int dragConstrainInitPtX, dragConstrainInitPtY;
double Mxp, Myp, Dxp, Dyp;
double SeRx, SeRy;
ScribusMainWindow* m_ScMW;
More information about the scribus-commit
mailing list