summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-23 10:18:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-23 12:16:39 +0100
commitefa6c3db7289266c46dd4c30b5bedc7ba22a203b (patch)
tree8da9a244c93db73d63d40e4daa7606b99369a1c6 /chart2
parent1c17a15d8a7e5a38c999ac2b8388a73e50f088e0 (diff)
cid#1500643 Dereference before null check
Change-Id: I1456b9a935c167344e0a56c7339da2c702a43e0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130419 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index ebe904fba7a2..0e33cabfccbb 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -1324,8 +1324,7 @@ void ChartController::execute_Command( const CommandEvent& rCEvt )
( rCEvt.GetCommand() == CommandEventId::InputContextChange ) )
{
//#i84417# enable editing with IME
- if( m_pDrawViewWrapper )
- m_pDrawViewWrapper->Command( rCEvt, pChartWindow );
+ m_pDrawViewWrapper->Command( rCEvt, pChartWindow );
}
}