summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmltbli.hxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-01-04 21:38:38 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-01-05 16:52:31 +0900
commita472d6176c7d2a88fbea0f25de17924753b052b2 (patch)
tree2960891bc2b475d754c9abca90cedae8560ad2b8 /sw/source/filter/xml/xmltbli.hxx
parent3cd31cd46f38e00d4fb31cf055b9bcbb5e94e5db (diff)
sal_Bool to bool
Change-Id: If855e5fafb8f1291d69d5e50fdaa9ef165071293
Diffstat (limited to 'sw/source/filter/xml/xmltbli.hxx')
-rw-r--r--sw/source/filter/xml/xmltbli.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/filter/xml/xmltbli.hxx b/sw/source/filter/xml/xmltbli.hxx
index d521f16defd9..06329c5d701f 100644
--- a/sw/source/filter/xml/xmltbli.hxx
+++ b/sw/source/filter/xml/xmltbli.hxx
@@ -88,9 +88,9 @@ class SwXMLTableContext : public XMLTextTableContext
SwXMLDDETableContext_Impl *pDDESource;
- sal_Bool bFirstSection : 1;
- sal_Bool bRelWidth : 1;
- sal_Bool bHasSubTables : 1;
+ bool bFirstSection : 1;
+ bool bRelWidth : 1;
+ bool bHasSubTables : 1;
sal_uInt16 nHeaderRows;
sal_uInt32 nCurRow;
@@ -156,17 +156,17 @@ public:
SwXMLImport& GetSwImport() { return (SwXMLImport&)GetImport(); }
- void InsertColumn( sal_Int32 nWidth, sal_Bool bRelWidth,
+ void InsertColumn( sal_Int32 nWidth, bool bRelWidth,
const ::rtl::OUString *pDfltCellStyleName = 0 );
sal_Int32 GetColumnWidth( sal_uInt32 nCol, sal_uInt32 nColSpan=1UL ) const;
::rtl::OUString GetColumnDefaultCellStyleName( sal_uInt32 nCol ) const;
inline sal_uInt32 GetColumnCount() const;
- inline sal_Bool HasColumnDefaultCellStyleNames() const;
+ inline bool HasColumnDefaultCellStyleNames() const;
- sal_Bool IsInsertCellPossible() const { return nCurCol < GetColumnCount(); }
- sal_Bool IsInsertColPossible() const { return nCurCol < USHRT_MAX; }
- sal_Bool IsInsertRowPossible() const { return nCurRow < USHRT_MAX; }
- sal_Bool IsValid() const { return pTableNode != 0; }
+ bool IsInsertCellPossible() const { return nCurCol < GetColumnCount(); }
+ bool IsInsertColPossible() const { return nCurCol < USHRT_MAX; }
+ bool IsInsertRowPossible() const { return nCurRow < USHRT_MAX; }
+ bool IsValid() const { return pTableNode != 0; }
void InsertCell( const ::rtl::OUString& rStyleName,
sal_uInt32 nRowSpan=1U, sal_uInt32 nColSpan=1U,
@@ -193,7 +193,7 @@ public:
virtual ::com::sun::star::uno::Reference <
::com::sun::star::text::XTextContent > GetXTextContent() const;
- void SetHasSubTables( sal_Bool bNew ) { bHasSubTables = bNew; }
+ void SetHasSubTables( bool bNew ) { bHasSubTables = bNew; }
};
inline SwXMLTableContext *SwXMLTableContext::GetParentTable() const
@@ -211,7 +211,7 @@ inline const SwStartNode *SwXMLTableContext::GetLastStartNode() const
return GetPrevStartNode( 0UL, GetColumnCount() );
}
-inline sal_Bool SwXMLTableContext::HasColumnDefaultCellStyleNames() const
+inline bool SwXMLTableContext::HasColumnDefaultCellStyleNames() const
{
return pColumnDefaultCellStyleNames != 0;
}