summaryrefslogtreecommitdiff
path: root/sal/textenc/converter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-08 12:03:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-09 15:05:54 +0200
commit1dd5e226bd57254024640b10cbbe639f12564655 (patch)
tree6fbbe3197fbb7f74eaa5786919ced46a06cbf39d /sal/textenc/converter.cxx
parent027b25ecd54ac97ea2471ca73e3ba89ce052fe76 (diff)
clang-tidy readability-non-const-parameter
Change-Id: I7b2680898dbfc49185fb949349d81f4ac615a470 Reviewed-on: https://gerrit.libreoffice.org/38593 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/textenc/converter.cxx')
-rw-r--r--sal/textenc/converter.cxx4
1 files changed, 2 insertions, 2 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