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
9f3e3923
Kaydet (Commit)
9f3e3923
authored
Kas 10, 2014
tarafından
Jennifer Liebel
Kaydeden (comit)
Tobias Madl
Ara 09, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
changed timers to idle
Change-Id: I5846940cc45781f4a0264047107dbb568604d543
üst
d1684e16
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
JoinTableView.hxx
dbaccess/source/ui/inc/JoinTableView.hxx
+1
-1
JoinTableView.cxx
dbaccess/source/ui/querydesign/JoinTableView.cxx
+9
-9
toolbarmanager.cxx
framework/source/uielement/toolbarmanager.cxx
+2
-2
documen2.cxx
sc/source/core/data/documen2.cxx
+1
-1
No files found.
dbaccess/source/ui/inc/JoinTableView.hxx
Dosyayı görüntüle @
9f3e3923
...
...
@@ -85,7 +85,7 @@ namespace dbaui
OTableWindowMap
m_aTableMap
;
::
std
::
vector
<
OTableConnection
*>
m_vTableConnection
;
Timer
m_aDragScrollTimer
;
Idle
m_aDragScrollIdle
;
Rectangle
m_aDragRect
;
Rectangle
m_aSizingRect
;
Point
m_aDragOffset
;
...
...
dbaccess/source/ui/querydesign/JoinTableView.cxx
Dosyayı görüntüle @
9f3e3923
...
...
@@ -169,7 +169,7 @@ OJoinTableView::OJoinTableView( vcl::Window* pParent, OJoinDesignView* pView )
InitColors
();
m_aDragScroll
Timer
.
SetTimeout
Hdl
(
LINK
(
this
,
OJoinTableView
,
OnDragScrollTimer
));
m_aDragScroll
Idle
.
SetIdle
Hdl
(
LINK
(
this
,
OJoinTableView
,
OnDragScrollTimer
));
}
OJoinTableView
::~
OJoinTableView
()
...
...
@@ -716,8 +716,8 @@ void OJoinTableView::Tracking( const TrackingEvent& rTEvt )
{
if
(
m_pDragWin
)
{
if
(
m_aDragScroll
Timer
.
IsActive
())
m_aDragScroll
Timer
.
Stop
();
if
(
m_aDragScroll
Idle
.
IsActive
())
m_aDragScroll
Idle
.
Stop
();
// adjust position of child after moving
// windows are not allowed to leave display range
...
...
@@ -776,8 +776,8 @@ void OJoinTableView::Tracking( const TrackingEvent& rTEvt )
}
else
if
(
rTEvt
.
IsTrackingCanceled
())
{
if
(
m_aDragScroll
Timer
.
IsActive
())
m_aDragScroll
Timer
.
Stop
();
if
(
m_aDragScroll
Idle
.
IsActive
())
m_aDragScroll
Idle
.
Stop
();
EndTracking
();
}
else
...
...
@@ -989,8 +989,8 @@ bool OJoinTableView::ScrollWhileDragging()
OSL_ENSURE
(
m_pDragWin
!=
NULL
,
"OJoinTableView::ScrollWhileDragging must not be called when a window is being dragged !"
);
// kill the timer
if
(
m_aDragScroll
Timer
.
IsActive
())
m_aDragScroll
Timer
.
Stop
();
if
(
m_aDragScroll
Idle
.
IsActive
())
m_aDragScroll
Idle
.
Stop
();
Point
aDragWinPos
=
m_ptPrevDraggingPos
-
m_aDragOffset
;
Size
aDragWinSize
=
m_pDragWin
->
GetSizePixel
();
...
...
@@ -1048,8 +1048,8 @@ bool OJoinTableView::ScrollWhileDragging()
// resetting timer, if still necessary
if
(
bNeedScrollTimer
)
{
m_aDragScroll
Timer
.
SetTimeout
(
100
);
m_aDragScroll
Timer
.
Start
();
m_aDragScroll
Idle
.
SetPriority
(
VCL_IDLE_PRIORITY_LOW
);
m_aDragScroll
Idle
.
Start
();
}
// redraw DraggingRect
...
...
framework/source/uielement/toolbarmanager.cxx
Dosyayı görüntüle @
9f3e3923
...
...
@@ -243,7 +243,7 @@ ToolBarManager::ToolBarManager( const Reference< XComponentContext >& rxContext,
ToolBarManager
::~
ToolBarManager
()
{
assert
(
!
m_aAsyncUpdateControllers
Timer
.
IsActive
());
assert
(
!
m_aAsyncUpdateControllers
Idle
.
IsActive
());
OSL_ASSERT
(
m_pToolBar
==
0
);
OSL_ASSERT
(
!
m_bAddedToTaskPaneList
);
}
...
...
@@ -631,7 +631,7 @@ void SAL_CALL ToolBarManager::dispose() throw( RuntimeException, std::exception
// stop timer to prevent timer events after dispose
// do it last because other calls could restart timer in StateChanged()
m_aAsyncUpdateControllers
Timer
.
Stop
();
m_aAsyncUpdateControllers
Idle
.
Stop
();
m_bDisposed
=
true
;
}
...
...
sc/source/core/data/documen2.cxx
Dosyayı görüntüle @
9f3e3923
...
...
@@ -332,7 +332,7 @@ void ScDocument::SetChangeTrack( ScChangeTrack* pTrack )
IMPL_LINK_NOARG
(
ScDocument
,
TrackTimeHdl
)
{
if
(
ScDdeLink
::
IsInUpdate
()
)
// do not nest
{
s
{
aTrackIdle
.
Start
();
// try again later
}
else
if
(
pShell
)
// execute
...
...
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