Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
a4e58b50
Kaydet (Commit)
a4e58b50
authored
Kas 30, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
silence ReleaseMouse warning
Change-Id: I615b4877ab29075ed45149259260acfb2563cad8
üst
c2f13bd8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
seleng.cxx
vcl/source/window/seleng.cxx
+1
-1
toolbox.cxx
vcl/source/window/toolbox.cxx
+4
-2
toolbox2.cxx
vcl/source/window/toolbox2.cxx
+4
-2
No files found.
vcl/source/window/seleng.cxx
Dosyayı görüntüle @
a4e58b50
...
...
@@ -280,7 +280,7 @@ bool SelectionEngine::SelMouseButtonUp( const MouseEvent& rMEvt )
void
SelectionEngine
::
ReleaseMouse
()
{
if
(
!
pWin
)
if
(
!
pWin
||
!
pWin
->
IsMouseCaptured
()
)
return
;
pWin
->
ReleaseMouse
();
}
...
...
vcl/source/window/toolbox.cxx
Dosyayı görüntüle @
a4e58b50
...
...
@@ -1251,7 +1251,8 @@ void ImplTBDragMgr::Dragging( const Point& rPos )
void
ImplTBDragMgr
::
EndDragging
(
bool
bOK
)
{
mpDragBox
->
HideTracking
();
mpDragBox
->
ReleaseMouse
();
if
(
mpDragBox
->
IsMouseCaptured
())
mpDragBox
->
ReleaseMouse
();
mpDragBox
->
mbDragging
=
false
;
mbShowDragRect
=
false
;
Application
::
RemoveAccel
(
&
maAccel
);
...
...
@@ -3346,7 +3347,8 @@ void ToolBox::ImplFloatControl( bool bStart, FloatingWindow* pFloatWindow )
mbDrag
=
false
;
EndTracking
();
ReleaseMouse
();
if
(
IsMouseCaptured
())
ReleaseMouse
();
}
else
{
...
...
vcl/source/window/toolbox2.cxx
Dosyayı görüntüle @
a4e58b50
...
...
@@ -1335,7 +1335,8 @@ void ToolBox::EndSelection()
if
(
mnCurPos
!=
TOOLBOX_ITEM_NOTFOUND
)
InvalidateItem
(
mnCurPos
);
EndTracking
();
ReleaseMouse
();
if
(
IsMouseCaptured
())
ReleaseMouse
();
Deactivate
();
}
...
...
@@ -1378,7 +1379,8 @@ void ToolBox::SetItemDown( sal_uInt16 nItemId, bool bDown, bool bRelease )
mbDrag
=
false
;
mbSelection
=
false
;
EndTracking
();
ReleaseMouse
();
if
(
IsMouseCaptured
())
ReleaseMouse
();
Deactivate
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment