View Issue Details

IDProjectCategoryView StatusLast Update
0016398ScribusGeneralpublic2020-12-18 09:19
Reporterjuham Assigned To 
Status newResolutionopen 
Product Version1.5.6.svn 
Summary0016398: parentStyle()->displayName() may crash
Descriptioncharstyle.cpp has function QString CharStyle::displayName() const
There is a call parentStyle()->displayName() which may crash because parentStyle() may return null.
This may happen with paragraphstyles which have no base charstyle.
TagsNo tags attached.



2020-12-18 09:19

administrator   ~0048588

Hmmm, the code above check if style has a parent and returns if it hasn't. So if parentStyle() returns null afterwards there is another problem elsewhere.

Issue History

Date Modified Username Field Change
2020-12-18 08:09 juham New Issue
2020-12-18 09:19 jghali Note Added: 0048588