r21969 by craig - Coverity 1396759: Initialise member variables

scribus-commit scribus-commit at lists.scribus.net
Sat Apr 22 16:28:50 UTC 2017


Author: craig
Date: Sat Apr 22 16:28:50 2017
New Revision: 21969

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21969
Log:
Coverity 1396759: Initialise member variables

Modified:
    trunk/Scribus/scribus/text/textshaper.cpp

Modified: trunk/Scribus/scribus/text/textshaper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21969&path=/trunk/Scribus/scribus/text/textshaper.cpp
==============================================================================
--- trunk/Scribus/scribus/text/textshaper.cpp	(original)
+++ trunk/Scribus/scribus/text/textshaper.cpp	Sat Apr 22 16:28:50 2017
@@ -23,9 +23,10 @@
 { }
 
 TextShaper::TextShaper(ITextSource &story, int firstChar)
-	: m_context(NULL)
-	, m_story(story)
-	, m_firstChar(firstChar)
+	: m_context(NULL),
+	m_contextNeeded(false),
+	m_story(story),
+	m_firstChar(firstChar)
 {
 	for (int i = m_firstChar; i < m_story.length(); ++i)
 	{




More information about the scribus-commit mailing list