diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/ppt/pptin.cxx | 2 | ||||
-rw-r--r-- | sd/source/filter/ppt/propread.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 820408c7fcee..5a1084afc691 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -1353,7 +1353,7 @@ bool ImplSdPPTImport::Import() sal_Unicode nChar; for ( sal_uInt32 i2 = 0; i2 < 32; i2++ ) { - rStCtrl.ReadUInt16( nChar ); + rStCtrl.ReadUtf16( nChar ); if ( nChar ) aCustomShow.append( nChar ); else diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx index 2a3c09265131..6bf66d5f3329 100644 --- a/sd/source/filter/ppt/propread.cxx +++ b/sd/source/filter/ppt/propread.cxx @@ -116,7 +116,7 @@ bool PropItem::Read( OUString& rString, sal_uInt32 nStringType, bool bAlign ) { sal_Unicode* pWString = reinterpret_cast<sal_Unicode*>(pString); for (sal_uInt32 i = 0; i < nItemSize; ++i) - ReadUInt16( pWString[ i ] ); + ReadUtf16( pWString[ i ] ); rString = OUString(pWString, lcl_getMaxSafeStrLen(nItemSize)); } else @@ -165,7 +165,7 @@ bool PropItem::Read( OUString& rString, sal_uInt32 nStringType, bool bAlign ) { sal_Unicode* pString = new sal_Unicode[ nItemSize ]; for (sal_uInt32 i = 0; i < nItemSize; ++i) - ReadUInt16( pString[ i ] ); + ReadUtf16( pString[ i ] ); if ( pString[ nItemSize - 1 ] == 0 ) { if ( (sal_uInt16)nItemSize > 1 ) @@ -304,7 +304,7 @@ void Section::GetDictionary(Dictionary& rDict) { sal_Unicode* pWString = new sal_Unicode[nSize]; for (sal_uInt32 j = 0; j < nSize; ++j) - aStream.ReadUInt16(pWString[j]); + aStream.ReadUtf16(pWString[j]); aString = OUString(pWString, lcl_getMaxSafeStrLen(nSize)); delete[] pWString; } |