summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/swfont.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-12-12 22:38:09 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-12-12 22:45:58 +0900
commit0c202871460959132176d9ea42a5ad7daad2ddf2 (patch)
tree3415460e6a82f315e434428469697d620e3a07b6 /sw/source/core/txtnode/swfont.cxx
parent0a9fd66e283566a26588c64f396fda6b32ab0415 (diff)
sal_Bool to bool
Change-Id: Id8c5f0a67b5906f78a1fd82f06c491f3276b827d
Diffstat (limited to 'sw/source/core/txtnode/swfont.cxx')
-rw-r--r--sw/source/core/txtnode/swfont.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx
index 2c4101ecfc1a..9d25a8fc928e 100644
--- a/sw/source/core/txtnode/swfont.cxx
+++ b/sw/source/core/txtnode/swfont.cxx
@@ -750,7 +750,7 @@ Size SwSubFont::_GetTxtSize( SwDrawTextInfo& rInf )
{
String aTmp = CalcCaseMap( rInf.GetText() );
const XubString &rOldStr = rInf.GetText();
- sal_Bool bCaseMapLengthDiffers(aTmp.Len() != rOldStr.Len());
+ bool bCaseMapLengthDiffers(aTmp.Len() != rOldStr.Len());
if(bCaseMapLengthDiffers && rInf.GetLen())
{
@@ -869,7 +869,7 @@ void SwSubFont::_DrawText( SwDrawTextInfo &rInf, const sal_Bool bGrey )
{
const XubString &rOldStr = rInf.GetText();
XubString aString( CalcCaseMap( rOldStr ) );
- sal_Bool bCaseMapLengthDiffers(aString.Len() != rOldStr.Len());
+ bool bCaseMapLengthDiffers(aString.Len() != rOldStr.Len());
if(bCaseMapLengthDiffers && rInf.GetLen())
{
@@ -919,7 +919,7 @@ static sal_Char const sDoubleSpace[] = " ";
const SwScriptInfo* pSI = rInf.GetScriptInfo();
- const sal_Bool bAsianFont =
+ const bool bAsianFont =
( rInf.GetFont() && SW_CJK == rInf.GetFont()->GetActual() );
for( xub_StrLen nTmp = nOldIdx; nTmp < nTmpEnd; ++nTmp )
{
@@ -1153,7 +1153,7 @@ void SwDrawTextInfo::Shift( sal_uInt16 nDir )
OSL_ENSURE( m_bSize, "DrawTextInfo: Undefined Width" );
#endif
- const sal_Bool bBidiPor = ( GetFrm() && GetFrm()->IsRightToLeft() ) !=
+ const bool bBidiPor = ( GetFrm() && GetFrm()->IsRightToLeft() ) !=
( 0 != ( TEXT_LAYOUT_BIDI_RTL & GetpOut()->GetLayoutMode() ) );
nDir = bBidiPor ?