starmath/source/mathml/export.cxx | 5 ----- 1 file changed, 5 deletions(-)
New commits: commit ee21d9956b10593b5ec813308f61b190b1788ca0 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Wed Oct 23 01:23:38 2024 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Oct 23 09:28:17 2024 +0200 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 <xiscofa...@libreoffice.org> diff --git a/starmath/source/mathml/export.cxx b/starmath/source/mathml/export.cxx index 028ebcef76a7..2f76dc3a796e 100644 --- a/starmath/source/mathml/export.cxx +++ b/starmath/source/mathml/export.cxx @@ -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;