editeng/source/editeng/impedit2.cxx | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-)
New commits: commit 397271c7ddc02cea2688da4ea33c47a44f5d4800 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Apr 3 12:08:47 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Apr 4 10:28:32 2019 +0200 LOK logic is good for non-lok here Change-Id: I7ad351800a55798e822596733f7fcb057e2e9aff Reviewed-on: https://gerrit.libreoffice.org/70213 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index eb8961ced3ac..b5746f6ab2eb 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -582,18 +582,8 @@ bool ImpEditEngine::MouseButtonUp( const MouseEvent& rMEvt, EditView* pView ) { if ( ( rMEvt.GetClicks() == 1 ) && rMEvt.IsLeft() && !rMEvt.IsMod2() ) { - - const SvxFieldItem* pFld; - if ( comphelper::LibreOfficeKit::isActive() ) - { - Point aLogicClick = pView->GetWindow()->PixelToLogic( rMEvt.GetPosPixel() ); - pFld = pView->GetField( aLogicClick ); - } - else - { - pFld = pView->GetFieldUnderMousePointer(); - } - if ( pFld ) + Point aLogicClick = pView->GetWindow()->PixelToLogic(rMEvt.GetPosPixel()); + if (const SvxFieldItem* pFld = pView->GetField(aLogicClick)) { EditPaM aPaM( aCurSel.Max() ); sal_Int32 nPara = GetEditDoc().GetPos( aPaM.GetNode() ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits