summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp/frmhtml.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-07 09:15:28 +0200
committerNoel Grandin <noel@peralex.com>2014-04-07 13:53:50 +0200
commit74fdda0cd41d97b6c97d2115584ee48fd552514e (patch)
treefa29308f180abbd7dec4c16f5603604a15fa079e /sfx2/source/bastyp/frmhtml.cxx
parent1eee88dd6bf2c647aa3458d33a5f45c51c024186 (diff)
sfx2: sal_Bool->bool
Change-Id: I48ae51781f64e60deb0c03352087100729c8c3cd
Diffstat (limited to 'sfx2/source/bastyp/frmhtml.cxx')
-rw-r--r--sfx2/source/bastyp/frmhtml.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sfx2/source/bastyp/frmhtml.cxx b/sfx2/source/bastyp/frmhtml.cxx
index f9541d4006f5..c667f1948492 100644
--- a/sfx2/source/bastyp/frmhtml.cxx
+++ b/sfx2/source/bastyp/frmhtml.cxx
@@ -57,7 +57,7 @@ void SfxFrameHTMLParser::ParseFrameOptions(
// Netscape does however not allow for a direct
// seting to 0, while IE4.0 does
// We will not mimic that bug !
- sal_Bool bMarginWidth = sal_False, bMarginHeight = sal_False;
+ bool bMarginWidth = false, bMarginHeight = false;
for (size_t i = 0, n = rOptions.size(); i < n; ++i)
{
@@ -84,14 +84,14 @@ void SfxFrameHTMLParser::ParseFrameOptions(
if( !bMarginHeight )
aMargin.Height() = 0;
- bMarginWidth = sal_True;
+ bMarginWidth = true;
break;
case HTML_O_MARGINHEIGHT:
aMargin.Height() = aOption.GetNumber();
if( !bMarginWidth )
aMargin.Width() = 0;
- bMarginHeight = sal_True;
+ bMarginHeight = true;
break;
case HTML_O_SCROLLING:
pFrame->SetScrollingMode(
@@ -101,10 +101,10 @@ void SfxFrameHTMLParser::ParseFrameOptions(
case HTML_O_FRAMEBORDER:
{
OUString aStr = aOption.GetString();
- sal_Bool bBorder = sal_True;
+ bool bBorder = true;
if ( aStr.equalsIgnoreAsciiCase("NO") ||
aStr.equalsIgnoreAsciiCase("0") )
- bBorder = sal_False;
+ bBorder = false;
pFrame->SetFrameBorder( bBorder );
break;
}
@@ -115,17 +115,17 @@ void SfxFrameHTMLParser::ParseFrameOptions(
if (aOption.GetTokenString().equalsIgnoreAsciiCase(HTML_O_READONLY))
{
OUString aStr = aOption.GetString();
- sal_Bool bReadonly = sal_True;
+ bool bReadonly = true;
if ( aStr.equalsIgnoreAsciiCase("FALSE") )
- bReadonly = sal_False;
+ bReadonly = false;
pFrame->SetReadOnly( bReadonly );
}
else if (aOption.GetTokenString().equalsIgnoreAsciiCase(HTML_O_EDIT))
{
OUString aStr = aOption.GetString();
- sal_Bool bEdit = sal_True;
+ bool bEdit = true;
if ( aStr.equalsIgnoreAsciiCase("FALSE") )
- bEdit = sal_False;
+ bEdit = false;
pFrame->SetEditable( bEdit );
}