r23720 by jghali - Fix crash introduced by previous commit

scribus-commit scribus-commit at lists.scribus.net
Sat May 9 14:08:40 UTC 2020


Author: jghali
Date: Sat May  9 14:08:40 2020
New Revision: 23720

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23720
Log:
Fix crash introduced by previous commit

Modified:
    trunk/Scribus/scribus/ui/smtextstyles.cpp

Modified: trunk/Scribus/scribus/ui/smtextstyles.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23720&path=/trunk/Scribus/scribus/ui/smtextstyles.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smtextstyles.cpp	(original)
+++ trunk/Scribus/scribus/ui/smtextstyles.cpp	Sat May  9 14:08:40 2020
@@ -38,7 +38,8 @@
 #include "util.h"
 
 
-SMParagraphStyle::SMParagraphStyle(SMCharacterStyle* cstyleItem)
+SMParagraphStyle::SMParagraphStyle(SMCharacterStyle* cstyleItem):
+	m_cstyleItem(cstyleItem)
 {
 	Q_ASSERT(m_cstyleItem);
 	m_cstyles = m_cstyleItem->tmpStyles();




More information about the scribus-commit mailing list