summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-22 17:01:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-22 18:04:41 +0100
commit8b550895b3007eecfbcf02573d8eb5ed57a45c62 (patch)
tree4d9245a7b96276df37fd8ca58fdd9efa490404da /sot
parent011dae60e2170f71ddf647d5ea2b844432480dc7 (diff)
sal_Char->char in sot..store
Change-Id: Ia133c1a7549d81f2e88e34ab7e6c9ea578c745ae Reviewed-on: https://gerrit.libreoffice.org/85702 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgole.cxx2
-rw-r--r--sot/source/sdstor/storinfo.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index 62c586a20773..3ae8fe4209ec 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -114,7 +114,7 @@ bool StgCompObjStream::Load()
// higher bits are ignored
sal_uLong nStrLen = ::std::min( nLen1, sal_Int32(0xFFFE) );
- std::unique_ptr<sal_Char[]> p(new sal_Char[ nStrLen+1 ]);
+ std::unique_ptr<char[]> p(new char[ nStrLen+1 ]);
p[nStrLen] = 0;
if (ReadBytes( p.get(), nStrLen ) == nStrLen)
{
diff --git a/sot/source/sdstor/storinfo.cxx b/sot/source/sdstor/storinfo.cxx
index adbcba212828..d8480e86a459 100644
--- a/sot/source/sdstor/storinfo.cxx
+++ b/sot/source/sdstor/storinfo.cxx
@@ -36,7 +36,7 @@ SotClipboardFormatId ReadClipboardFormat( SvStream & rStm )
if( nLen > 0 )
{
// get a string name
- std::unique_ptr<sal_Char[]> p(new( ::std::nothrow ) sal_Char[ nLen ]);
+ std::unique_ptr<char[]> p(new( ::std::nothrow ) char[ nLen ]);
if (p && rStm.ReadBytes(p.get(), nLen) == static_cast<std::size_t>(nLen))
{
nFormat = SotExchange::RegisterFormatName(OUString(p.get(), nLen-1, RTL_TEXTENCODING_ASCII_US));