summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-10-23 01:29:07 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-10-23 09:27:40 +0200
commit22fd6966fe84af99a2c047260a4dcd8687da40a7 (patch)
treebea94c26c6449368d81a22e92a155a19585cc2cc /chart2/source
parenta8f7368b76185b656b96755dde622715d08bb07b (diff)
tdf#163486: PVS: Expression is always true
V547 Expression 'pChartWindow' is always true. Change-Id: I079b0aef18e4619f84e96dc07573884a9887faaa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175464 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/main/ChartController.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index 5c9bbb2d0133..3deda1fc6254 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -484,10 +484,7 @@ void SAL_CALL ChartController::modeChanged( const util::ModeChangeEvent& rEvent
impl_initializeAccessible();
- {
- if( pChartWindow )
- pChartWindow->Invalidate();
- }
+ pChartWindow->Invalidate();
}
m_bConnectingToView = false;