diff options
Diffstat (limited to 'chart2/source/controller/main/ChartController_Window.cxx')
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index e7f656337507..7e006d5f2cc1 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -1315,11 +1315,11 @@ bool ChartController::execute_KeyInput( const KeyEvent& rKEvt ) return bReturn; // handle accelerators - if( ! m_apAccelExecute.get() && m_xFrame.is() && m_xCC.is() ) + if (!m_apAccelExecute && m_xFrame.is() && m_xCC.is()) { m_apAccelExecute = ::svt::AcceleratorExecute::createAcceleratorHelper(); - OSL_ASSERT( m_apAccelExecute.get()); - if( m_apAccelExecute.get() ) + OSL_ASSERT(m_apAccelExecute); + if (m_apAccelExecute) m_apAccelExecute->init( m_xCC, m_xFrame ); } @@ -1328,7 +1328,7 @@ bool ChartController::execute_KeyInput( const KeyEvent& rKEvt ) bool bAlternate = aKeyCode.IsMod2(); bool bCtrl = aKeyCode.IsMod1(); - if( m_apAccelExecute.get() ) + if (m_apAccelExecute) bReturn = m_apAccelExecute->execute( aKeyCode ); if( bReturn ) return bReturn; |