diff options
Diffstat (limited to 'sot/source/sdstor/stgole.cxx')
-rw-r--r-- | sot/source/sdstor/stgole.cxx | 2 |
1 files changed, 1 insertions, 1 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) { |