From 9f23260105672903a047c2194a36ebd448fff135 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 17 Apr 2015 14:55:13 +0200 Subject: SvStream: WriteUChar -> WriteBool Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14 --- sd/source/filter/html/pubdlg.cxx | 22 +++++++++++----------- sd/source/ui/dlg/morphdlg.cxx | 4 ++-- sd/source/ui/dlg/vectdlg.cxx | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) (limited to 'sd') diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx index 7edbf1200514..36bc1973c72c 100644 --- a/sd/source/filter/html/pubdlg.cxx +++ b/sd/source/filter/html/pubdlg.cxx @@ -302,8 +302,8 @@ SvStream& WriteSdPublishingDesign(SvStream& rOut, const SdPublishingDesign& rDes RTL_TEXTENCODING_UTF8); rOut.WriteUInt16( rDesign.m_eMode ); - rOut.WriteUChar( rDesign.m_bContentPage ); - rOut.WriteUChar( rDesign.m_bNotes ); + rOut.WriteBool( rDesign.m_bContentPage ); + rOut.WriteBool( rDesign.m_bNotes ); rOut.WriteUInt16( rDesign.m_nResolution ); write_uInt16_lenPrefixed_uInt8s_FromOUString(rOut, rDesign.m_aCompression, RTL_TEXTENCODING_UTF8); @@ -316,17 +316,17 @@ SvStream& WriteSdPublishingDesign(SvStream& rOut, const SdPublishingDesign& rDes RTL_TEXTENCODING_UTF8); write_uInt16_lenPrefixed_uInt8s_FromOUString(rOut, rDesign.m_aMisc, RTL_TEXTENCODING_UTF8); - rOut.WriteUChar( rDesign.m_bDownload ); - rOut.WriteUChar( rDesign.m_bCreated ); // not used + rOut.WriteBool( rDesign.m_bDownload ); + rOut.WriteBool( rDesign.m_bCreated ); // not used rOut.WriteInt16( rDesign.m_nButtonThema ); - rOut.WriteUChar( rDesign.m_bUserAttr ); + rOut.WriteBool( rDesign.m_bUserAttr ); WriteColor( rOut, rDesign.m_aBackColor ); WriteColor( rOut, rDesign.m_aTextColor ); WriteColor( rOut, rDesign.m_aLinkColor ); WriteColor( rOut, rDesign.m_aVLinkColor ); WriteColor( rOut, rDesign.m_aALinkColor ); - rOut.WriteUChar( rDesign.m_bUseAttribs ); - rOut.WriteUChar( rDesign.m_bUseColor ); + rOut.WriteBool( rDesign.m_bUseAttribs ); + rOut.WriteBool( rDesign.m_bUseColor ); rOut.WriteUInt16( rDesign.m_eScript ); write_uInt16_lenPrefixed_uInt8s_FromOUString(rOut, rDesign.m_aURL, @@ -334,11 +334,11 @@ SvStream& WriteSdPublishingDesign(SvStream& rOut, const SdPublishingDesign& rDes write_uInt16_lenPrefixed_uInt8s_FromOUString(rOut, rDesign.m_aCGI, RTL_TEXTENCODING_UTF8); - rOut.WriteUChar( rDesign.m_bAutoSlide ); + rOut.WriteBool( rDesign.m_bAutoSlide ); rOut.WriteUInt32( rDesign.m_nSlideDuration ); - rOut.WriteUChar( rDesign.m_bEndless ); - rOut.WriteUChar( rDesign.m_bSlideSound ); - rOut.WriteUChar( rDesign.m_bHiddenSlides ); + rOut.WriteBool( rDesign.m_bEndless ); + rOut.WriteBool( rDesign.m_bSlideSound ); + rOut.WriteBool( rDesign.m_bHiddenSlides ); return rOut; } diff --git a/sd/source/ui/dlg/morphdlg.cxx b/sd/source/ui/dlg/morphdlg.cxx index d21de6f97c27..db55129d3f8a 100644 --- a/sd/source/ui/dlg/morphdlg.cxx +++ b/sd/source/ui/dlg/morphdlg.cxx @@ -102,8 +102,8 @@ void MorphDlg::SaveSettings() const SdIOCompat aCompat( *xOStm, StreamMode::WRITE, 1 ); xOStm->WriteUInt16( m_pMtfSteps->GetValue() ) - .WriteUChar( m_pCbxOrientation->IsChecked() ) - .WriteUChar( m_pCbxAttributes->IsChecked() ); + .WriteBool( m_pCbxOrientation->IsChecked() ) + .WriteBool( m_pCbxAttributes->IsChecked() ); } } diff --git a/sd/source/ui/dlg/vectdlg.cxx b/sd/source/ui/dlg/vectdlg.cxx index 71d6ed9dd558..f533073cfe32 100644 --- a/sd/source/ui/dlg/vectdlg.cxx +++ b/sd/source/ui/dlg/vectdlg.cxx @@ -335,7 +335,7 @@ void SdVectorizeDlg::SaveSettings() const { SdIOCompat aCompat( *xOStm, StreamMode::WRITE, 1 ); xOStm->WriteUInt16( m_pNmLayers->GetValue() ).WriteUInt16( m_pMtReduce->GetValue() ); - xOStm->WriteUInt16( m_pMtFillHoles->GetValue() ).WriteUChar( m_pCbFillHoles->IsChecked() ); + xOStm->WriteUInt16( m_pMtFillHoles->GetValue() ).WriteBool( m_pCbFillHoles->IsChecked() ); } } -- cgit