diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 9c1c7c4c1358..dd6ccaf4ed61 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -215,8 +215,6 @@ OUString lcl_getFormatCommandForObjectCID( const OUString& rCID ) } // anonymous namespace -const short HITPIX=2; //hit-tolerance in pixel - // awt::XWindow void SAL_CALL ChartController::setPosSize( sal_Int32 X, @@ -581,7 +579,7 @@ void ChartController::execute_MouseButtonDown( const MouseEvent& rMEvt ) if( pDrawViewWrapper->IsTextEdit() ) { SdrViewEvent aVEvt; - if ( pDrawViewWrapper->IsTextEditHit( aMPos, HITPIX ) || + if ( pDrawViewWrapper->IsTextEditHit( aMPos ) || // #i12587# support for shapes in chart ( rMEvt.IsRight() && pDrawViewWrapper->PickAnything( rMEvt, SdrMouseEventKind::BUTTONDOWN, aVEvt ) == SDRHIT_MARKEDOBJECT ) ) { @@ -1836,7 +1834,7 @@ void ChartController::impl_SetMousePointer( const MouseEvent & rEvent ) if ( m_pDrawViewWrapper->IsTextEdit() ) { - if( m_pDrawViewWrapper->IsTextEditHit( aMousePos, HITPIX) ) + if( m_pDrawViewWrapper->IsTextEditHit( aMousePos ) ) { m_pChartWindow->SetPointer( m_pDrawViewWrapper->GetPreferredPointer( aMousePos, m_pChartWindow, nModifier, bLeftDown ) ); |