summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-11-15 00:01:03 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-11-15 00:01:58 +0900
commit5bac137d48c2436316043ca2be558b9eb00fe87d (patch)
tree04a4eefa9678e7d63de4f8aee71a9fd624c21af9 /sw/source/filter/html
parent62af61b8f076c00eb045dca1c46275882e17ce6b (diff)
sal_Bool to bool
Change-Id: I95a8effcc90a9651e30dc43f8db6edeaa7ace5ef
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/htmlnum.cxx4
-rw-r--r--sw/source/filter/html/htmltab.cxx2
-rw-r--r--sw/source/filter/html/svxcss1.cxx4
-rw-r--r--sw/source/filter/html/svxcss1.hxx8
4 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/filter/html/htmlnum.cxx b/sw/source/filter/html/htmlnum.cxx
index c63aa253c82d..276596673f6a 100644
--- a/sw/source/filter/html/htmlnum.cxx
+++ b/sw/source/filter/html/htmlnum.cxx
@@ -666,7 +666,7 @@ void SwHTMLWriter::FillNextNumInfo()
sal_uLong nPos = pCurPam->GetPoint()->nNode.GetIndex() + 1;
- sal_Bool bTable = sal_False;
+ bool bTable = false;
do
{
const SwNode* pNd = pDoc->GetNodes()[nPos];
@@ -692,7 +692,7 @@ void SwHTMLWriter::FillNextNumInfo()
// Eine Tabelle wird uebersprungen, also den Node
// hinter der Tabelle betrachten.
nPos = pNd->EndOfSectionIndex() + 1;
- bTable = sal_True;
+ bTable = true;
}
else
{
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index fde8dbecae01..8d5172c4f71a 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -271,7 +271,7 @@ public:
sal_Int16 GetVertOri() const { return eVertOri; }
// Is the cell filled or protected ?
- sal_Bool IsUsed() const { return pContents!=0 || bProtected; }
+ bool IsUsed() const { return pContents!=0 || bProtected; }
SwHTMLTableLayoutCell *CreateLayoutInfo();
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index 214f39a79fbc..91fb3d86498d 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -581,9 +581,9 @@ void SvxCSS1PropertyInfo::CopyBorderInfo( sal_uInt16 nCount, sal_uInt16 nWhat )
void SvxCSS1PropertyInfo::SetBoxItem( SfxItemSet& rItemSet,
sal_uInt16 nMinBorderDist,
const SvxBoxItem *pDfltItem,
- sal_Bool bTable )
+ bool bTable )
{
- sal_Bool bChg = nTopBorderDistance != USHRT_MAX ||
+ bool bChg = nTopBorderDistance != USHRT_MAX ||
nBottomBorderDistance != USHRT_MAX ||
nLeftBorderDistance != USHRT_MAX ||
nRightBorderDistance != USHRT_MAX;
diff --git a/sw/source/filter/html/svxcss1.hxx b/sw/source/filter/html/svxcss1.hxx
index d8049aedb265..d37663e3a570 100644
--- a/sw/source/filter/html/svxcss1.hxx
+++ b/sw/source/filter/html/svxcss1.hxx
@@ -155,7 +155,7 @@ public:
void CopyBorderInfo( sal_uInt16 nCount, sal_uInt16 nWhat );
void SetBoxItem( SfxItemSet& rItemSet, sal_uInt16 nMinBorderDist,
- const SvxBoxItem* pDflt=0, sal_Bool bTable = sal_False );
+ const SvxBoxItem* pDflt=0, bool bTable = false );
};
@@ -340,9 +340,9 @@ public:
virtual void SetDfltEncoding( rtl_TextEncoding eEnc );
rtl_TextEncoding GetDfltEncoding() const { return eDfltEnc; }
- sal_Bool IsSetWesternProps() const { return (nScriptFlags & CSS1_SCRIPT_WESTERN) != 0; }
- sal_Bool IsSetCJKProps() const { return (nScriptFlags & CSS1_SCRIPT_CJK) != 0; }
- sal_Bool IsSetCTLProps() const { return (nScriptFlags & CSS1_SCRIPT_CTL) != 0; }
+ bool IsSetWesternProps() const { return (nScriptFlags & CSS1_SCRIPT_WESTERN) != 0; }
+ bool IsSetCJKProps() const { return (nScriptFlags & CSS1_SCRIPT_CJK) != 0; }
+ bool IsSetCTLProps() const { return (nScriptFlags & CSS1_SCRIPT_CTL) != 0; }
const String& GetBaseURL() const { return sBaseURL;}