diff options
Diffstat (limited to 'vcl/osx/clipboard.cxx')
-rw-r--r-- | vcl/osx/clipboard.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/clipboard.cxx b/vcl/osx/clipboard.cxx index 1f444ca7c0c7..008ec32ade5e 100644 --- a/vcl/osx/clipboard.cxx +++ b/vcl/osx/clipboard.cxx @@ -259,14 +259,14 @@ void AquaClipboard::fireClipboardChangedEvent() list<Reference< XClipboardListener > > listeners(mClipboardListeners); ClipboardEvent aEvent; - if (listeners.begin() != listeners.end()) + if (!listeners.empty()) { aEvent = ClipboardEvent(static_cast<OWeakObject*>(this), getContents()); } aGuard.clear(); - while (listeners.begin() != listeners.end()) + while (!listeners.empty()) { if (listeners.front().is()) { |