From 1dd5e226bd57254024640b10cbbe639f12564655 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 8 Jun 2017 12:03:12 +0200 Subject: clang-tidy readability-non-const-parameter Change-Id: I7b2680898dbfc49185fb949349d81f4ac615a470 Reviewed-on: https://gerrit.libreoffice.org/38593 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sal/textenc/converter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sal/textenc/converter.cxx') 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 -- cgit