Avoid potential negative array index access to cached text.
[LibreOffice.git] / sal / textenc / convertisciidevangari.tab
blobc65dc333ec625993fd6397eba7e52ecbe52d3438
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
10 #include <sal/config.h>
12 #include <rtl/tencinfo.h>
13 #include <rtl/textenc.h>
15 #include "convertisciidevangari.hxx"
17 ImplTextEncodingData const aImplIsciiDevanagariTextEncodingData
18     = { { nullptr,
19           &ImplConvertIsciiDevanagariToUnicode,
20           &ImplConvertUnicodeToIsciiDevanagari,
21           &ImplCreateIsciiDevanagariToUnicodeContext,
22           &ImplDestroyIsciiDevanagariToUnicodeContext,
23           &ImplResetIsciiDevanagariToUnicodeContext,
24           &ImplCreateUnicodeToIsciiDevanagariContext,
25           &ImplDestroyUnicodeToIsciiDevanagariContext,
26           &ImplResetUnicodeToIsciiDevanagariContext },
27         nullptr,
28         "x-iscii-de ",
29         1,
30         2,
31         2,
32         1,
33         RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MULTIBYTE };
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */