r19902 by jghali - initialize properly some GuideManagerCore members in order to avoid some weird numbers in saved docs

scribus-commit scribus-commit at lists.scribus.net
Wed Mar 4 22:10:38 UTC 2015


Author: jghali
Date: Wed Mar  4 22:10:38 2015
New Revision: 19902

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19902
Log:
initialize properly some GuideManagerCore members in order to avoid some weird numbers in saved docs

Modified:
    trunk/Scribus/scribus/guidemanagercore.cpp

Modified: trunk/Scribus/scribus/guidemanagercore.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19902&path=/trunk/Scribus/scribus/guidemanagercore.cpp
==============================================================================
--- trunk/Scribus/scribus/guidemanagercore.cpp (original)
+++ trunk/Scribus/scribus/guidemanagercore.cpp Wed Mar  4 22:10:38 2015
@@ -23,6 +23,7 @@
 #include "ui/guidemanager.h"
 
 GuideManagerCore::GuideManagerCore():
+	gx(0), gy(0), gw(0), gh(0),
 	undoManager(UndoManager::instance()),
 	m_page(0),
 	m_horizontalAutoGap(0.0),
@@ -39,6 +40,7 @@
 }
 
 GuideManagerCore::GuideManagerCore(ScPage *parentPage):
+	gx(0), gy(0), gw(0), gh(0),
 	undoManager(UndoManager::instance()),
 	m_page(parentPage),
 	m_horizontalAutoGap(0.0),




More information about the scribus-commit mailing list