summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/wrapper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-22 16:58:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-22 19:27:42 +0100
commit1376f86f3fdfb80008687d8b5e8db2b5434b9d7e (patch)
treeaaf2bce8628387b618aaad2d5e6e2e879d902a98 /sdext/source/pdfimport/wrapper
parent935763841f8f4423a5afca5da15c874bee02e0d5 (diff)
sal_Char->char in scaddins..sdext
Change-Id: If2456800ace3696c2582e19a4c8612fee7d77f90 Reviewed-on: https://gerrit.libreoffice.org/85700 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/pdfimport/wrapper')
-rw-r--r--sdext/source/pdfimport/wrapper/wrapper.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index 5074258605a5..e8932f16f3b7 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -204,15 +204,15 @@ public:
OString lcl_unescapeLineFeeds(const OString& i_rStr)
{
const size_t nOrigLen(sal::static_int_cast<size_t>(i_rStr.getLength()));
- const sal_Char* const pOrig(i_rStr.getStr());
- std::unique_ptr<sal_Char[]> pBuffer(new sal_Char[nOrigLen + 1]);
+ const char* const pOrig(i_rStr.getStr());
+ std::unique_ptr<char[]> pBuffer(new char[nOrigLen + 1]);
- const sal_Char* pRead(pOrig);
- sal_Char* pWrite(pBuffer.get());
- const sal_Char* pCur(pOrig);
+ const char* pRead(pOrig);
+ char* pWrite(pBuffer.get());
+ const char* pCur(pOrig);
while ((pCur = strchr(pCur, '\\')) != nullptr)
{
- const sal_Char cNext(pCur[1]);
+ const char cNext(pCur[1]);
if (cNext == 'n' || cNext == 'r' || cNext == '\\')
{
const size_t nLen(pCur - pRead);