diff options
Diffstat (limited to 'sal/textenc')
-rw-r--r-- | sal/textenc/converter.cxx | 4 | ||||
-rw-r--r-- | sal/textenc/converter.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sal/textenc/converter.cxx b/sal/textenc/converter.cxx index 109469fffdb5..5aa07163843e 100644 --- a/sal/textenc/converter.cxx +++ b/sal/textenc/converter.cxx @@ -29,7 +29,7 @@ sal::detail::textenc::BadInputConversionAction sal::detail::textenc::handleBadInputTextToUnicodeConversion( bool bUndefined, bool bMultiByte, char cByte, sal_uInt32 nFlags, - sal_Unicode ** pDestBufPtr, sal_Unicode * pDestBufEnd, sal_uInt32 * pInfo) + sal_Unicode ** pDestBufPtr, const sal_Unicode * pDestBufEnd, sal_uInt32 * pInfo) { *pInfo |= bUndefined ? (bMultiByte @@ -80,7 +80,7 @@ sal::detail::textenc::handleBadInputTextToUnicodeConversion( sal::detail::textenc::BadInputConversionAction sal::detail::textenc::handleBadInputUnicodeToTextConversion( bool bUndefined, sal_uInt32 nUtf32, sal_uInt32 nFlags, char ** pDestBufPtr, - char * pDestBufEnd, sal_uInt32 * pInfo, char const * pPrefix, + const char * pDestBufEnd, sal_uInt32 * pInfo, char const * pPrefix, sal_Size nPrefixLen, bool * pPrefixWritten) { // TODO! RTL_UNICODETOTEXT_FLAGS_UNDEFINED_REPLACE diff --git a/sal/textenc/converter.hxx b/sal/textenc/converter.hxx index bbbd91784fdf..786b8fe89b0b 100644 --- a/sal/textenc/converter.hxx +++ b/sal/textenc/converter.hxx @@ -38,12 +38,12 @@ enum BadInputConversionAction BadInputConversionAction SAL_DLLPUBLIC handleBadInputTextToUnicodeConversion( bool bUndefined, bool bMultiByte, char cByte, sal_uInt32 nFlags, - sal_Unicode ** pDestBufPtr, sal_Unicode * pDestBufEnd, sal_uInt32 * pInfo); + sal_Unicode ** pDestBufPtr, const sal_Unicode * pDestBufEnd, sal_uInt32 * pInfo); BadInputConversionAction SAL_DLLPUBLIC handleBadInputUnicodeToTextConversion( bool bUndefined, sal_uInt32 nUtf32, sal_uInt32 nFlags, char ** pDestBufPtr, - char * pDestBufEnd, sal_uInt32 * pInfo, char const * pPrefix, + const char * pDestBufEnd, sal_uInt32 * pInfo, char const * pPrefix, sal_Size nPrefixLen, bool * pPrefixWritten); } } } |