summaryrefslogtreecommitdiff
path: root/i18npool/source/transliteration
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-02-12 12:45:29 +0100
committerThomas Lange [tl] <tl@openoffice.org>2010-02-12 12:45:29 +0100
commit594ffd1d561d75217d1bfcb1cb9aeca5cf31c676 (patch)
tree1a434be6fa204ea8867b6a9ca7f84faefdcc2717 /i18npool/source/transliteration
parent9f85dcd4ac25f368185863a53ba862f4eb5dc332 (diff)
cws tl74: switching from DBG_ASSERT to OSL_ENSURE (don't use 'tools')
Diffstat (limited to 'i18npool/source/transliteration')
-rw-r--r--i18npool/source/transliteration/transliteration_body.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/transliteration/transliteration_body.cxx b/i18npool/source/transliteration/transliteration_body.cxx
index d041a1d8f915..07ca4a781a25 100644
--- a/i18npool/source/transliteration/transliteration_body.cxx
+++ b/i18npool/source/transliteration/transliteration_body.cxx
@@ -36,7 +36,7 @@
#include <i18nutil/unicode.hxx>
#include <comphelper/processfactory.hxx>
-#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include "characterclassificationImpl.hxx"
@@ -99,7 +99,7 @@ static sal_uInt8 lcl_getMappingTypeForToggleCase( sal_uInt8 nMappingType, sal_Un
nRes = MappingTypeLowerToUpper;
else
{
- DBG_ASSERT( nType & 0x01 /* upper case */, "uppercase character expected! 'Toggle case' failed?" );
+ OSL_ENSURE( nType & 0x01 /* upper case */, "uppercase character expected! 'Toggle case' failed?" );
nRes = MappingTypeUpperToLower;
}
}