diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-08 14:10:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-08 18:20:25 +0000 |
commit | 79bbc5b910259c2c0efc71329501767e97513584 (patch) | |
tree | 9c7e3feccb554098dfbcaa6b3f57f4e27fac558a /sc/source/ui/drawfunc/fusel.cxx | |
parent | ca66b8c025fafe5fa79b749d17a28710322621c4 (diff) |
silence mouse release warning
Change-Id: Idce7f28d642f6dc23f16e3c963d0ed42782ed14a
Diffstat (limited to 'sc/source/ui/drawfunc/fusel.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/fusel.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx index 8a1dbd763583..c4c1aac7c32a 100644 --- a/sc/source/ui/drawfunc/fusel.cxx +++ b/sc/source/ui/drawfunc/fusel.cxx @@ -570,7 +570,8 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt) ForcePointer(&rMEvt); - pWindow->ReleaseMouse(); + if (pWindow->IsMouseCaptured()) + pWindow->ReleaseMouse(); // Command-Handler fuer Kontext-Menue kommt erst nach MouseButtonUp, // darum hier die harte IsLeft-Abfrage |