chart2/source/controller/main/ChartController_Window.cxx | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit d30d50e2fdb84b572706f264237db5220ef17e38 Author: Tomaž Vajngerl <[email protected]> Date: Mon Apr 17 19:12:04 2017 +0200 tdf#107069 don't show "move" cursor on field buttons Change-Id: I332cc7522eb98345d34cb411642189262d97744c Reviewed-on: https://gerrit.libreoffice.org/36735 Tested-by: Jenkins <[email protected]> Reviewed-by: Tomaž Vajngerl <[email protected]> diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 441e8da6e682..7aa642c3cdba 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -1826,6 +1826,14 @@ void ChartController::impl_SetMousePointer( const MouseEvent & rEvent ) sal_uInt16 nModifier = rEvent.GetModifier(); bool bLeftDown = rEvent.IsLeft(); + // Check if object is for field button and set the normal arrow pointer in this case + SdrObject* pObject = m_pDrawViewWrapper->getHitObject(aMousePos); + if (pObject && pObject->GetName().startsWith("FieldButton")) + { + pChartWindow->SetPointer(Pointer(PointerStyle::Arrow)); + return; + } + if ( m_pDrawViewWrapper->IsTextEdit() ) { if( m_pDrawViewWrapper->IsTextEditHit( aMousePos ) )
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
