summaryrefslogtreecommitdiff
path: root/sd
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 /sd
parentc007829a67456ef01b82b8368f7ed3e5a3026c95 (diff)
SvStream: WriteUChar -> WriteBool
Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/html/pubdlg.cxx22
-rw-r--r--sd/source/ui/dlg/morphdlg.cxx4
-rw-r--r--sd/source/ui/dlg/vectdlg.cxx2
3 files changed, 14 insertions, 14 deletions
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() );
}
}