diff options
author | Eike Rathke <erack@erack.de> | 2011-08-10 01:32:41 +0200 |
---|---|---|
committer | Eike Rathke <erack@erack.de> | 2011-08-10 01:32:41 +0200 |
commit | ea4470cbaca80a3d3f5816434918dc99cd989d8d (patch) | |
tree | 3b10b0ab9d73d6fc920a523e1ab9116c685191e0 /sc/source/core | |
parent | 5eb0b845a1fa9f120199bad64b7f705e8c3d105c (diff) |
Number formatter sal_Bool -> bool clean-up and cosmetics
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/data/column3.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 4 | ||||
-rw-r--r-- | sc/source/core/tool/zforauto.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index 9c7d2fa3f982..8c3b37310695 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -2026,7 +2026,7 @@ xub_StrLen ScColumn::GetMaxNumberStringLen( sal_uInt16 nPrec; if (pEntry) { - sal_Bool bThousand, bNegRed; + bool bThousand, bNegRed; sal_uInt16 nLeading; pEntry->GetFormatSpecialInfo(bThousand, bNegRed, nPrec, nLeading); } diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 0b2226787f27..df9f3c8503de 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -2038,9 +2038,9 @@ void ScInterpreter::ScCell() else if( aInfoType.EqualsAscii( "FORMAT" ) ) { // specific format code for standard formats sal_uLong nFormat = pDok->GetNumberFormat( aCellPos ); - sal_Bool bAppendPrec = sal_True; + bool bAppendPrec = true; sal_uInt16 nPrec, nLeading; - sal_Bool bThousand, bIsRed; + bool bThousand, bIsRed; pFormatter->GetFormatSpecialInfo( nFormat, bThousand, bIsRed, nPrec, nLeading ); switch( pFormatter->GetType( nFormat ) ) diff --git a/sc/source/core/tool/zforauto.cxx b/sc/source/core/tool/zforauto.cxx index 6d8266beb4fd..b438fb7aae07 100644 --- a/sc/source/core/tool/zforauto.cxx +++ b/sc/source/core/tool/zforauto.cxx @@ -99,7 +99,7 @@ void ScNumFormatAbbrev::PutFormatIndex(sal_uLong nFormat, sal_uLong ScNumFormatAbbrev::GetFormatIndex( SvNumberFormatter& rFormatter) { short nType; - sal_Bool bNewInserted; + bool bNewInserted; xub_StrLen nCheckPos; return rFormatter.GetIndexPuttingAndConverting( sFormatstring, eLnge, eSysLnge, nType, bNewInserted, nCheckPos); |