diff options
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/presenter/PresenterTimer.cxx | 4 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx index 3757bd0e06d8..dca44fda0cd9 100644 --- a/sdext/source/presenter/PresenterTimer.cxx +++ b/sdext/source/presenter/PresenterTimer.cxx @@ -260,7 +260,7 @@ void TimerScheduler::CancelTask (const sal_Int32 nTaskId) // When the last active task was canceled then the timer can be // stopped. - if (maScheduledTasks.size() == 0) + if (maScheduledTasks.empty()) { mbIsRunning = false; resume(); @@ -477,7 +477,7 @@ void PresenterClockTimer::RemoveListener (const SharedListener& rListener) rListener)); if (iListener != maListeners.end()) maListeners.erase(iListener); - if (maListeners.size() == 0) + if (maListeners.empty()) { // We have no more clients and therefore are not interested in time changes. if (mnTimerTaskId != PresenterTimer::NotAValidTaskId) diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index 23a19cd0a18f..3a6aa83635b1 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -727,7 +727,7 @@ void PresenterToolBar::ProcessEntry ( void PresenterToolBar::Layout ( const Reference<rendering::XCanvas>& rxCanvas) { - if (maElementContainer.size() == 0) + if (maElementContainer.empty()) return; mbIsLayoutPending = false; |