Coverity: Dereference null return value

This commit is contained in:
wmayer
2020-07-19 16:21:20 +02:00
parent fdd6d341c7
commit ba683bf241
4 changed files with 23 additions and 13 deletions

View File

@@ -389,7 +389,9 @@ void TaskRichAnno::createAnnoFeature()
if (m_basePage != nullptr) {
m_basePage->touch();
}
m_annoFeat->requestPaint();
if (m_annoFeat != nullptr) {
m_annoFeat->requestPaint();
}
}
void TaskRichAnno::updateAnnoFeature()