diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-19 08:15:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-19 08:20:02 +0100 |
commit | bd9d2c3205af57dc6ae9821a3bc9c098bf97dba1 (patch) | |
tree | 74b3c48e188d6a159c65c040437e3cba0c4fc7f7 /desktop/source/lib | |
parent | a56955a4b323dd3e78ea49f2b3f3eebca5d5586c (diff) |
sal_Char->char in desktop..dtrans
Change-Id: I6ad7d6acf081c16f904eb1b2506b545a88046c48
Reviewed-on: https://gerrit.libreoffice.org/85470
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/lib')
-rw-r--r-- | desktop/source/lib/init.cxx | 4 | ||||
-rw-r--r-- | desktop/source/lib/lokclipboard.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index ad44965df7dd..99fc74208529 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3758,13 +3758,13 @@ static bool getFromTransferrable( if (bConvert) aRet = OUStringToOString(aString, RTL_TEXTENCODING_UTF8); else - aRet = OString(reinterpret_cast<const sal_Char *>(aString.getStr()), aString.getLength() * sizeof(sal_Unicode)); + aRet = OString(reinterpret_cast<const char *>(aString.getStr()), aString.getLength() * sizeof(sal_Unicode)); } else { uno::Sequence<sal_Int8> aSequence; aAny >>= aSequence; - aRet = OString(reinterpret_cast<sal_Char*>(aSequence.getArray()), aSequence.getLength()); + aRet = OString(reinterpret_cast<char*>(aSequence.getArray()), aSequence.getLength()); } return true; diff --git a/desktop/source/lib/lokclipboard.cxx b/desktop/source/lib/lokclipboard.cxx index c80e70b11f56..7efaca9abd78 100644 --- a/desktop/source/lib/lokclipboard.cxx +++ b/desktop/source/lib/lokclipboard.cxx @@ -144,7 +144,7 @@ LOKTransferable::LOKTransferable(const OUString& sMimeType, uno::Any aContent; if (m_aFlavors[0].DataType == cppu::UnoType<OUString>::get()) { - auto pText = reinterpret_cast<const sal_Char*>(aSequence.getConstArray()); + auto pText = reinterpret_cast<const char*>(aSequence.getConstArray()); aContent <<= OUString(pText, aSequence.getLength(), RTL_TEXTENCODING_UTF8); } else |