diff options
author | Jacek Wolszczak <shutdownrunner@gmail.com> | 2011-05-08 22:14:45 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-05-09 15:06:56 +0200 |
commit | 4cf350c27fbe9c84ec38daeffe2b57ebc515f8c2 (patch) | |
tree | de43a2b56eeb5717374c41844f90320502aaa76d /sw/inc/tox.hxx | |
parent | ce0a87b004a37e9a2f2da41d6e811e9bdba82eda (diff) |
REPLACE DBG_stuff with OSL_ASSERT and OSL_FAIL
Diffstat (limited to 'sw/inc/tox.hxx')
-rw-r--r-- | sw/inc/tox.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index f3a381aadb30..1729cb93945d 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -543,12 +543,12 @@ public: const String& GetStyleNames(sal_uInt16 nLevel) const { - DBG_ASSERT( nLevel < MAXLEVEL, "Which level?"); + OSL_ENSURE( nLevel < MAXLEVEL, "Which level?"); return aStyleNames[nLevel]; } void SetStyleNames(const String& rSet, sal_uInt16 nLevel) { - DBG_ASSERT( nLevel < MAXLEVEL, "Which level?"); + OSL_ENSURE( nLevel < MAXLEVEL, "Which level?"); aStyleNames[nLevel] = rSet; } sal_Bool IsFromChapter() const { return bFromChapter;} @@ -760,7 +760,7 @@ inline sal_uInt16 SwTOXBase::GetLevel() const inline void SwTOXBase::SetTemplateName(const String& rName) { - DBG_WARNING("SwTOXBase::SetTemplateName obsolete"); + OSL_FAIL("SwTOXBase::SetTemplateName obsolete"); aStyleNames[0] = rName; } |