diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:36:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:36:13 +0100 |
commit | 61f168d98750549107a65e846fbe5c49f277295e (patch) | |
tree | 0748b88eefa9bb49285270ac5a7bbce3d10b4ef6 /editeng | |
parent | 4f76e46290b26deeb4f9660c580a5ffef58a557e (diff) |
Add SvStream::ReadUtf16 (don't assume sal_Unicode is unsigned short)
Change-Id: I74f34e3389582617fa83f8f4a3d6867cf87189e1
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/textitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index 69a6ca799af2..1ab854c4a474 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -3001,7 +3001,7 @@ SfxPoolItem* SvxTwoLinesItem::Create( SvStream & rStrm, sal_uInt16 /*nVer*/) con { bool _bOn; sal_Unicode cStart, cEnd; - rStrm.ReadCharAsBool( _bOn ).ReadUInt16( cStart ).ReadUInt16( cEnd ); + rStrm.ReadCharAsBool( _bOn ).ReadUtf16( cStart ).ReadUtf16( cEnd ); return new SvxTwoLinesItem( _bOn, cStart, cEnd, Which() ); } |