diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-04 14:11:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-05 20:42:55 +0000 |
commit | cfc119c4322e36283ffc4bebfb0757e8e0039a5a (patch) | |
tree | da68da28a2baf665e3cdea582438bd745c1fe444 /sw/source/uibase/docvw | |
parent | 66fedc0966ad0c732cada974ea910d7a98beca15 (diff) |
silence vcl release mouse warning
Change-Id: I12eb894d88c7b96f92e3d080ac3cf24ff2e025ec
Diffstat (limited to 'sw/source/uibase/docvw')
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 277934b50b28..8c9b13f2194a 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -4391,7 +4391,8 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt) m_rView.GetDrawFuncPtr()->BreakCreate(); // abort drawing g_bNoInterrupt = false; - ReleaseMouse(); + if (IsMouseCaptured()) + ReleaseMouse(); return; } bool bPopMode = false; |