Kaydet (Commit) 300c8917 authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool->bool

Change-Id: Iba9022efc96bf4e28e05305af089df4342d172fe
üst b6738a43
...@@ -244,8 +244,8 @@ public: ...@@ -244,8 +244,8 @@ public:
void SetRotateAngle( const SfxInt32Item& rRotateAngle ) { aRotateAngle.SetValue( rRotateAngle.GetValue() ); } void SetRotateAngle( const SfxInt32Item& rRotateAngle ) { aRotateAngle.SetValue( rRotateAngle.GetValue() ); }
void SetRotateMode( const SvxRotateModeItem& rRotateMode ) { aRotateMode.SetValue( rRotateMode.GetValue() ); } void SetRotateMode( const SvxRotateModeItem& rRotateMode ) { aRotateMode.SetValue( rRotateMode.GetValue() ); }
sal_Bool Load( SvStream& rStream, const ScAfVersions& rVersions, sal_uInt16 nVer ); bool Load( SvStream& rStream, const ScAfVersions& rVersions, sal_uInt16 nVer );
sal_Bool Save( SvStream& rStream, sal_uInt16 fileVersion ); bool Save( SvStream& rStream, sal_uInt16 fileVersion );
}; };
......
...@@ -292,7 +292,7 @@ void ScAutoFormatDataField::SetAdjust( const SvxAdjustItem& rAdjust ) ...@@ -292,7 +292,7 @@ void ScAutoFormatDataField::SetAdjust( const SvxAdjustItem& rAdjust )
aItem = *(ItemType*)pNew; \ aItem = *(ItemType*)pNew; \
delete pNew; delete pNew;
sal_Bool ScAutoFormatDataField::Load( SvStream& rStream, const ScAfVersions& rVersions, sal_uInt16 nVer ) bool ScAutoFormatDataField::Load( SvStream& rStream, const ScAfVersions& rVersions, sal_uInt16 nVer )
{ {
SfxPoolItem* pNew; SfxPoolItem* pNew;
SvxOrientationItem aOrientation( SVX_ORIENTATION_STANDARD, 0 ); SvxOrientationItem aOrientation( SVX_ORIENTATION_STANDARD, 0 );
...@@ -378,7 +378,7 @@ sal_Bool ScAutoFormatDataField::Load( SvStream& rStream, const ScAfVersions& rVe ...@@ -378,7 +378,7 @@ sal_Bool ScAutoFormatDataField::Load( SvStream& rStream, const ScAfVersions& rVe
return (rStream.GetError() == 0); return (rStream.GetError() == 0);
} }
sal_Bool ScAutoFormatDataField::Save( SvStream& rStream, sal_uInt16 fileVersion ) bool ScAutoFormatDataField::Save( SvStream& rStream, sal_uInt16 fileVersion )
{ {
SvxOrientationItem aOrientation( aRotateAngle.GetValue(), aStacked.GetValue(), 0 ); SvxOrientationItem aOrientation( aRotateAngle.GetValue(), aStacked.GetValue(), 0 );
...@@ -791,7 +791,7 @@ bool ScAutoFormatData::Load( SvStream& rStream, const ScAfVersions& rVersions ) ...@@ -791,7 +791,7 @@ bool ScAutoFormatData::Load( SvStream& rStream, const ScAfVersions& rVersions )
bool ScAutoFormatData::Save(SvStream& rStream, sal_uInt16 fileVersion) bool ScAutoFormatData::Save(SvStream& rStream, sal_uInt16 fileVersion)
{ {
sal_uInt16 nVal = AUTOFORMAT_DATA_ID; sal_uInt16 nVal = AUTOFORMAT_DATA_ID;
sal_Bool b; bool b;
rStream.WriteUInt16( nVal ); rStream.WriteUInt16( nVal );
// --- from 680/dr25 on: store strings as UTF-8 // --- from 680/dr25 on: store strings as UTF-8
write_lenPrefixed_uInt8s_FromOUString<sal_uInt16>(rStream, aName, RTL_TEXTENCODING_UTF8); write_lenPrefixed_uInt8s_FromOUString<sal_uInt16>(rStream, aName, RTL_TEXTENCODING_UTF8);
...@@ -807,7 +807,7 @@ bool ScAutoFormatData::Save(SvStream& rStream, sal_uInt16 fileVersion) ...@@ -807,7 +807,7 @@ bool ScAutoFormatData::Save(SvStream& rStream, sal_uInt16 fileVersion)
if (fileVersion >= SOFFICE_FILEFORMAT_50) if (fileVersion >= SOFFICE_FILEFORMAT_50)
WriteAutoFormatSwBlob( rStream, m_swFields ); WriteAutoFormatSwBlob( rStream, m_swFields );
sal_Bool bRet = 0 == rStream.GetError(); bool bRet = 0 == rStream.GetError();
for (sal_uInt16 i = 0; bRet && (i < 16); i++) for (sal_uInt16 i = 0; bRet && (i < 16); i++)
bRet = GetField( i ).Save( rStream, fileVersion ); bRet = GetField( i ).Save( rStream, fileVersion );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment