tdf#163486: PVS: Expression is always false
V547 Expression 'pDocShell == nullptr' is always false. Change-Id: I0f79864cb5fbfe209cb0c2441665027355aced3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175463 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
@@ -90,11 +90,6 @@ bool SmMLExportWrapper::Export(SfxMedium& rMedium)
|
||||
|
||||
// Medium item set
|
||||
SfxItemSet& rMediumItemSet = rMedium.GetItemSet();
|
||||
if (pDocShell == nullptr)
|
||||
{
|
||||
SAL_WARN("starmath", "Failed to get medium item set");
|
||||
return false;
|
||||
}
|
||||
|
||||
// Progress bar ~
|
||||
uno::Reference<task::XStatusIndicator> xStatusIndicator;
|
||||
|
Reference in New Issue
Block a user