summaryrefslogtreecommitdiff
path: root/sal/textenc/convertisciidevangari.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/textenc/convertisciidevangari.cxx')
-rw-r--r--sal/textenc/convertisciidevangari.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sal/textenc/convertisciidevangari.cxx b/sal/textenc/convertisciidevangari.cxx
index 852b8c65a3ce..16c453fb8487 100644
--- a/sal/textenc/convertisciidevangari.cxx
+++ b/sal/textenc/convertisciidevangari.cxx
@@ -194,11 +194,9 @@ sal_Size IsciiDevanagariToUnicode::convert(
continue;
if (eAction == BAD_INPUT_STOP)
break;
- if (eAction == BAD_INPUT_NO_OUTPUT)
- {
- nInfo |= RTL_TEXTTOUNICODE_INFO_DESTBUFFERTOOSMALL;
- break;
- }
+ assert(eAction == BAD_INPUT_NO_OUTPUT);
+ nInfo |= RTL_TEXTTOUNICODE_INFO_DESTBUFFERTOOSMALL;
+ break;
}
++nConverted;
if (bDouble)