[Libreoffice-commits] core.git: sd/source
Andrzej Hunt
andrzej.hunt at collabora.com
Sun Jun 29 23:11:36 PDT 2014
sd/source/ui/dlg/RemoteDialogClientBox.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit e65ba1ad3ec9af16efc397a041ad607eb87edc91
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Mon Jun 30 08:09:17 2014 +0200
-WaE: variable bNewEntryInserted set but not used.
Is a direct result of a4620e23cec01169995ec7bc056c51295a4f9907
(although that didn't actually really "use" the result either...).
Change-Id: Ic21eb9a5cdfa86cab257afe66a89953b144b171c
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
index f59347b..3522910 100644
--- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx
+++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
@@ -634,20 +634,16 @@ long ClientBox::addEntry( ::boost::shared_ptr<ClientInfo> pClientInfo )
TClientBoxEntry pEntry( new ClientBoxEntry( pClientInfo ) );
- bool bNewEntryInserted = false;
-
::osl::ClearableMutexGuard guard(m_entriesMutex);
if ( m_vEntries.empty() )
{
m_vEntries.push_back( pEntry );
- bNewEntryInserted = true;
}
else
{
// if ( !FindEntryPos( pEntry, 0, m_vEntries.size()-1, nPos ) )
// {
m_vEntries.insert( m_vEntries.begin()+nPos, pEntry );
- bNewEntryInserted = true;
// }
// else if ( !m_bInCheckMode )
// {
More information about the Libreoffice-commits
mailing list