summaryrefslogtreecommitdiff
path: root/svx/source/items/pageitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/items/pageitem.cxx')
-rw-r--r--svx/source/items/pageitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/items/pageitem.cxx b/svx/source/items/pageitem.cxx
index 0ac676debe0a..7dcffd0c9dd4 100644
--- a/svx/source/items/pageitem.cxx
+++ b/svx/source/items/pageitem.cxx
@@ -251,7 +251,7 @@ SfxPoolItem* SvxPageItem::Create( SvStream& rStream, sal_uInt16 ) const
sal_uInt16 nUse;
// UNICODE: rStream >> sStr;
- rStream.ReadByteString( sStr );
+ rStream.ReadUniOrByteString( sStr, rStream.GetStreamCharSet() );
rStream >> eType;
rStream >> bLand;
@@ -270,7 +270,7 @@ SfxPoolItem* SvxPageItem::Create( SvStream& rStream, sal_uInt16 ) const
SvStream& SvxPageItem::Store( SvStream &rStrm, sal_uInt16 /*nItemVersion*/ ) const
{
// UNICODE: rStrm << aDescName;
- rStrm.WriteByteString(aDescName);
+ rStrm.WriteUniOrByteString(aDescName, rStrm.GetStreamCharSet());
rStrm << (sal_uInt8)eNumType << bLandscape << eUse;
return rStrm;