diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-30 16:18:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-30 16:43:30 +0000 |
commit | a4e58b509828d806513217efc03134845629cccd (patch) | |
tree | a94aca090dd423d6343bf4420fb59ff2d6a1922d /vcl/source/window/seleng.cxx | |
parent | c2f13bd8dff4526cdfca2eef7770feae3da8bf3a (diff) |
silence ReleaseMouse warning
Change-Id: I615b4877ab29075ed45149259260acfb2563cad8
Diffstat (limited to 'vcl/source/window/seleng.cxx')
-rw-r--r-- | vcl/source/window/seleng.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/seleng.cxx b/vcl/source/window/seleng.cxx index 69b220bedfcc..6aefea13e56d 100644 --- a/vcl/source/window/seleng.cxx +++ b/vcl/source/window/seleng.cxx @@ -280,7 +280,7 @@ bool SelectionEngine::SelMouseButtonUp( const MouseEvent& rMEvt ) void SelectionEngine::ReleaseMouse() { - if (!pWin) + if (!pWin || !pWin->IsMouseCaptured()) return; pWin->ReleaseMouse(); } |