summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-17 14:55:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-17 15:20:43 +0200
commit9f23260105672903a047c2194a36ebd448fff135 (patch)
tree9408d894cebb45123235ae8a86700a0f8686d7af /svl/source
parentc007829a67456ef01b82b8368f7ed3e5a3026c95 (diff)
SvStream: WriteUChar -> WriteBool
Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/items/cenumitm.cxx2
-rw-r--r--svl/source/items/ctypeitm.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx
index bb4ada807dd2..a5525bedd27d 100644
--- a/svl/source/items/cenumitm.cxx
+++ b/svl/source/items/cenumitm.cxx
@@ -211,7 +211,7 @@ SfxPoolItem * SfxBoolItem::Create(SvStream & rStream, sal_uInt16) const
// virtual
SvStream & SfxBoolItem::Store(SvStream & rStream, sal_uInt16) const
{
- rStream.WriteUChar( m_bValue ); // not bool for serialization!
+ rStream.WriteBool( m_bValue ); // not bool for serialization!
return rStream;
}
diff --git a/svl/source/items/ctypeitm.cxx b/svl/source/items/ctypeitm.cxx
index 4e79d882780e..a5427df0b2f8 100644
--- a/svl/source/items/ctypeitm.cxx
+++ b/svl/source/items/ctypeitm.cxx
@@ -90,7 +90,7 @@ SvStream & CntContentTypeItem::Store(SvStream & rStream, sal_uInt16) const
// CntContentTypeItem used to be derived from CntStringItem, so take that
// into account:
writeUnicodeString(rStream, GetValue());
- rStream.WriteUInt32( CNTSTRINGITEM_STREAM_MAGIC ).WriteUChar( false );
+ rStream.WriteUInt32( CNTSTRINGITEM_STREAM_MAGIC ).WriteBool( false );
return rStream;
}