sd/source/ui/func/futext.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 361c645b6029f98f2c7e8ef51b6f098050c33dd0
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Aug 22 10:19:12 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Aug 22 16:11:23 2022 +0200

    only need to call ReleaseMouse once, the 2nd one is a no-op
    
    Change-Id: I7892a6956feef84e23b11a47199961052faf589a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138677
    Tested-by: Caolán McNamara <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index 725bf96e1fce..7e2551ef8a9f 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -369,7 +369,6 @@ bool FuText::MouseButtonDown(const MouseEvent& rMEvt)
                         SfxStringItem aReferer(SID_REFERER, 
mpDocSh->GetMedium()->GetName());
                         SfxBoolItem aBrowseItem( SID_BROWSE, true );
                         SfxViewFrame* pFrame = mpViewShell->GetViewFrame();
-                        mpWindow->ReleaseMouse();
 
                         if (rMEvt.IsMod1())
                         {

Reply via email to