summaryrefslogtreecommitdiff
path: root/sc
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 /sc
parentc007829a67456ef01b82b8368f7ed3e5a3026c95 (diff)
SvStream: WriteUChar -> WriteBool
Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/patattr.cxx2
-rw-r--r--sc/source/core/tool/autoform.cxx12
-rw-r--r--sc/source/core/tool/ddelink.cxx2
3 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx
index 0dfc3690663c..08d258ccec30 100644
--- a/sc/source/core/data/patattr.cxx
+++ b/sc/source/core/data/patattr.cxx
@@ -173,7 +173,7 @@ SfxPoolItem* ScPatternAttr::Create( SvStream& rStream, sal_uInt16 /* nVersion */
SvStream& ScPatternAttr::Store(SvStream& rStream, sal_uInt16 /* nItemVersion */) const
{
- rStream.WriteUChar( true );
+ rStream.WriteBool( true );
if ( pStyle )
rStream.WriteUniOrByteString( pStyle->GetName(), rStream.GetStreamCharSet() );
diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx
index 6d69934d08a8..c68a4f65239d 100644
--- a/sc/source/core/tool/autoform.cxx
+++ b/sc/source/core/tool/autoform.cxx
@@ -795,12 +795,12 @@ bool ScAutoFormatData::Save(SvStream& rStream, sal_uInt16 fileVersion)
write_uInt16_lenPrefixed_uInt8s_FromOUString(rStream, aName, RTL_TEXTENCODING_UTF8);
rStream.WriteUInt16( nStrResId );
- rStream.WriteUChar( bIncludeFont );
- rStream.WriteUChar( bIncludeJustify );
- rStream.WriteUChar( bIncludeFrame );
- rStream.WriteUChar( bIncludeBackground );
- rStream.WriteUChar( bIncludeValueFormat );
- rStream.WriteUChar( bIncludeWidthHeight );
+ rStream.WriteBool( bIncludeFont );
+ rStream.WriteBool( bIncludeJustify );
+ rStream.WriteBool( bIncludeFrame );
+ rStream.WriteBool( bIncludeBackground );
+ rStream.WriteBool( bIncludeValueFormat );
+ rStream.WriteBool( bIncludeWidthHeight );
if (fileVersion >= SOFFICE_FILEFORMAT_50)
WriteAutoFormatSwBlob( rStream, m_swFields );
diff --git a/sc/source/core/tool/ddelink.cxx b/sc/source/core/tool/ddelink.cxx
index f449912ee20c..bf7770cd7680 100644
--- a/sc/source/core/tool/ddelink.cxx
+++ b/sc/source/core/tool/ddelink.cxx
@@ -110,7 +110,7 @@ void ScDdeLink::Store( SvStream& rStream, ScMultipleWriteHeader& rHdr ) const
rStream.WriteUniOrByteString( aItem, eCharSet );
bool bHasValue = ( pResult != 0 );
- rStream.WriteUChar( bHasValue );
+ rStream.WriteBool( bHasValue );
if( rStream.GetVersion() > SOFFICE_FILEFORMAT_40 ) // nicht bei 4.0 Export
rStream.WriteUChar( nMode ); // seit 388b