diff options
author | obo <obo@openoffice.org> | 2010-06-11 10:25:05 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-06-11 10:25:05 +0200 |
commit | 7ff5c0b957249bcda3e0eb89d59cd95450151aa0 (patch) | |
tree | 45d7f9f55e3bdbc955e05136c5fd052fb3393db2 | |
parent | 53e3e176afd07b9398427537df404c0a55c43208 (diff) |
masterfix: #i10000# disable assertions, sSymbols + aTmpSymbolName not definedooo/DEV300_m82
-rw-r--r-- | starmath/source/dialog.cxx | 2 | ||||
-rw-r--r-- | starmath/source/symbol.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 328cec34e5..7ee8f0db0f 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -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 diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx index 87743cd2cf..d40bd4f557 100644 --- a/starmath/source/symbol.cxx +++ b/starmath/source/symbol.cxx @@ -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; } |