summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/dlg/RemoteDialogClientBox.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
index f59347bf9b38..35229104b35d 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 )
// {