PVS: V522 There might be dereferencing of a potential null pointer
This commit is contained in:
@@ -858,7 +858,7 @@ void QGVPage::saveSvg(QString filename)
|
||||
m_vpPage->setFrameState(saveState);
|
||||
m_vpPage->setTemplateMarkers(saveState);
|
||||
setExporting(false);
|
||||
if (templateVisible) {
|
||||
if (templateVisible && svgTemplate) {
|
||||
svgTemplate->show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user