summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/dtrans
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-10 13:51:56 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-06-11 06:48:29 +0000
commitd203948fdb780c7af5777fcc26ad88bac1bd714e (patch)
tree95458f3a290eed3d9a4ca13f28ec63f50490d7a6 /vcl/unx/generic/dtrans
parent754ade38ddb2e96187d00f3e621203cea34961fa (diff)
convert 'it.begin() == it.end()' to 'it.empty()'
Change-Id: I244a9eb6bce6b1c649653ec38ebb9a39f8b4c145 Reviewed-on: https://gerrit.libreoffice.org/16212 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/unx/generic/dtrans')
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx
index 720b8c6e41bf..c8263b6e2356 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -1929,7 +1929,7 @@ bool SelectionManager::handleSendPropertyNotify( XPropertyEvent& rNotify )
}
}
- while( aTimeouts.begin() != aTimeouts.end() )
+ while( !aTimeouts.empty() )
{
// transfer broken, might even be a new client with the
// same window id
@@ -1979,7 +1979,7 @@ bool SelectionManager::handleSendPropertyNotify( XPropertyEvent& rNotify )
}
// eventually clean up the hash map
- if( it->second.begin() == it->second.end() )
+ if( it->second.empty() )
m_aIncrementals.erase( it );
}
}
@@ -3694,7 +3694,7 @@ void SelectionManager::run( void* pThis )
}
}
aGuard.clear();
- while( aChangeList.begin() != aChangeList.end() )
+ while( !aChangeList.empty() )
{
aChangeList.front().first->fireContentsChanged();
aChangeList.pop_front();