diff options
author | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-11-25 17:08:45 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-11-25 17:12:34 +0100 |
commit | c16ba8a04fd4599e439e7e039705e41691c43acb (patch) | |
tree | 66a1c67973a674245548e10ff0746d1e473a7703 /sw/source/core/inc/scriptinfo.hxx | |
parent | e9eaf033646695987e218907a565b555b976c5c8 (diff) |
Removed DBG_UTIL from sw
* Fixed the different dbglevel builds
* This needed to change all the sw local ASSERT to OSL_ENSURE...
Diffstat (limited to 'sw/source/core/inc/scriptinfo.hxx')
-rw-r--r-- | sw/source/core/inc/scriptinfo.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx index 00687bf6ae15..71eea577f4e3 100644 --- a/sw/source/core/inc/scriptinfo.hxx +++ b/sw/source/core/inc/scriptinfo.hxx @@ -360,56 +360,56 @@ inline void SwScriptInfo::SetInvalidity( const xub_StrLen nPos ) inline USHORT SwScriptInfo::CountScriptChg() const { return aScriptChg.Count(); } inline xub_StrLen SwScriptInfo::GetScriptChg( const USHORT nCnt ) const { - ASSERT( nCnt < aScriptChg.Count(),"No ScriptChange today!"); + OSL_ENSURE( nCnt < aScriptChg.Count(),"No ScriptChange today!"); return aScriptChg[ nCnt ]; } inline BYTE SwScriptInfo::GetScriptType( const xub_StrLen nCnt ) const { - ASSERT( nCnt < aScriptChg.Count(),"No ScriptType today!"); + OSL_ENSURE( nCnt < aScriptChg.Count(),"No ScriptType today!"); return aScriptType[ nCnt ]; } inline USHORT SwScriptInfo::CountDirChg() const { return aDirChg.Count(); } inline xub_StrLen SwScriptInfo::GetDirChg( const USHORT nCnt ) const { - ASSERT( nCnt < aDirChg.Count(),"No DirChange today!"); + OSL_ENSURE( nCnt < aDirChg.Count(),"No DirChange today!"); return aDirChg[ nCnt ]; } inline BYTE SwScriptInfo::GetDirType( const xub_StrLen nCnt ) const { - ASSERT( nCnt < aDirChg.Count(),"No DirType today!"); + OSL_ENSURE( nCnt < aDirChg.Count(),"No DirType today!"); return aDirType[ nCnt ]; } inline USHORT SwScriptInfo::CountKashida() const { return aKashida.Count(); } inline xub_StrLen SwScriptInfo::GetKashida( const USHORT nCnt ) const { - ASSERT( nCnt < aKashida.Count(),"No Kashidas today!"); + OSL_ENSURE( nCnt < aKashida.Count(),"No Kashidas today!"); return aKashida[ nCnt ]; } inline USHORT SwScriptInfo::CountCompChg() const { return aCompChg.Count(); }; inline xub_StrLen SwScriptInfo::GetCompStart( const USHORT nCnt ) const { - ASSERT( nCnt < aCompChg.Count(),"No CompressionStart today!"); + OSL_ENSURE( nCnt < aCompChg.Count(),"No CompressionStart today!"); return aCompChg[ nCnt ]; } inline xub_StrLen SwScriptInfo::GetCompLen( const USHORT nCnt ) const { - ASSERT( nCnt < aCompChg.Count(),"No CompressionLen today!"); + OSL_ENSURE( nCnt < aCompChg.Count(),"No CompressionLen today!"); return aCompLen[ nCnt ]; } inline BYTE SwScriptInfo::GetCompType( const USHORT nCnt ) const { - ASSERT( nCnt < aCompChg.Count(),"No CompressionType today!"); + OSL_ENSURE( nCnt < aCompChg.Count(),"No CompressionType today!"); return aCompType[ nCnt ]; } inline USHORT SwScriptInfo::CountHiddenChg() const { return aHiddenChg.Count(); }; inline xub_StrLen SwScriptInfo::GetHiddenChg( const USHORT nCnt ) const { - ASSERT( nCnt < aHiddenChg.Count(),"No HiddenChg today!"); + OSL_ENSURE( nCnt < aHiddenChg.Count(),"No HiddenChg today!"); return aHiddenChg[ nCnt ]; } |