masterfix: #i10000# disable assertions, sSymbols + aTmpSymbolName not defined
This commit is contained in:
parent
5e30119659
commit
f536dbf880
2 changed files with 2 additions and 2 deletions
|
@ -1896,7 +1896,7 @@ IMPL_LINK( SmSymDefineDialog, AddClickHdl, Button *, EMPTYARG pButton )
|
|||
const SmSym aNewSymbol( aSymbols.GetText(), aCharsetDisplay.GetFont(),
|
||||
sal::static_int_cast< sal_Unicode >( aCharsetDisplay.GetSelectCharacter() ),
|
||||
aSymbolSets.GetText() );
|
||||
DBG_ASSERT( aSymbolMgrCopy.GetSymbolByName(aTmpSymbolName) == NULL, "symbol already exists" );
|
||||
//DBG_ASSERT( aSymbolMgrCopy.GetSymbolByName(aTmpSymbolName) == NULL, "symbol already exists" );
|
||||
aSymbolMgrCopy.AddOrReplaceSymbol( aNewSymbol );
|
||||
|
||||
// update display of new symbol
|
||||
|
|
|
@ -195,7 +195,7 @@ const SymbolPtrVec_t SmSymbolManager::GetSymbols() const
|
|||
SymbolMap_t::const_iterator aIt( m_aSymbols.begin() );
|
||||
for ( ; aIt != m_aSymbols.end(); ++aIt)
|
||||
aRes.push_back( &aIt->second );
|
||||
DBG_ASSERT( sSymbols.size() == m_aSymbols.size(), "number of symbols mismatch " );
|
||||
// DBG_ASSERT( sSymbols.size() == m_aSymbols.size(), "number of symbols mismatch " );
|
||||
return aRes;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue