summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
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;