diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-28 04:08:33 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-28 22:48:05 +0200 |
commit | 0294fa0ea81ab4b9625e5e8f0513ce94ea3217d7 (patch) | |
tree | e405af293bed5681f0513e9a44e72bc2a3eeba47 /sc/source/filter/xml/xmlrowi.cxx | |
parent | 49a96397da5e20c695e2972b5964da957724ef5e (diff) |
some more sal_Bool -> bool in sc/source/filter/xml
Diffstat (limited to 'sc/source/filter/xml/xmlrowi.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlrowi.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sc/source/filter/xml/xmlrowi.cxx b/sc/source/filter/xml/xmlrowi.cxx index e494f6377296..0740d9f4ce59 100644 --- a/sc/source/filter/xml/xmlrowi.cxx +++ b/sc/source/filter/xml/xmlrowi.cxx @@ -135,7 +135,7 @@ SvXMLImportContext *ScXMLTableRowContext::CreateChildContext( sal_uInt16 nPrefix case XML_TOK_TABLE_ROW_CELL: // if( IsInsertCellPossible() ) { - bHasCell = sal_True; + bHasCell = true; pContext = new ScXMLTableRowCellContext( GetScImport(), nPrefix, rLName, xAttrList, false, nRepeatedRows //this @@ -145,9 +145,9 @@ SvXMLImportContext *ScXMLTableRowContext::CreateChildContext( sal_uInt16 nPrefix case XML_TOK_TABLE_ROW_COVERED_CELL: // if( IsInsertCellPossible() ) { - bHasCell = sal_True; + bHasCell = true; pContext = new ScXMLTableRowCellContext( GetScImport(), nPrefix, - rLName, xAttrList, sal_True, nRepeatedRows + rLName, xAttrList, true, nRepeatedRows //this ); } @@ -194,7 +194,7 @@ void ScXMLTableRowContext::EndElement() if ( pStyles ) { XMLTableStyleContext* pStyle((XMLTableStyleContext *)pStyles->FindStyleChildContext( - XML_STYLE_FAMILY_TABLE_ROW, sStyleName, sal_True)); + XML_STYLE_FAMILY_TABLE_ROW, sStyleName, true)); if (pStyle) { pStyle->FillPropertySet(xRowProperties); @@ -208,8 +208,8 @@ void ScXMLTableRowContext::EndElement() } } } - sal_Bool bVisible (sal_True); - sal_Bool bFiltered (false); + bool bVisible (true); + bool bFiltered (false); if (IsXMLToken(sVisibility, XML_COLLAPSE)) { bVisible = false; @@ -217,7 +217,7 @@ void ScXMLTableRowContext::EndElement() else if (IsXMLToken(sVisibility, XML_FILTER)) { bVisible = false; - bFiltered = sal_True; + bFiltered = true; } if (!bVisible) xRowProperties->setPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_ISVISIBLE)), uno::makeAny(bVisible)); @@ -234,7 +234,7 @@ ScXMLTableRowsContext::ScXMLTableRowsContext( ScXMLImport& rImport, const ::rtl::OUString& rLName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList>& xAttrList, - const sal_Bool bTempHeader, const sal_Bool bTempGroup ) : + const bool bTempHeader, const bool bTempGroup ) : SvXMLImportContext( rImport, nPrfx, rLName ), nHeaderStartRow(0), nHeaderEndRow(0), @@ -242,7 +242,7 @@ ScXMLTableRowsContext::ScXMLTableRowsContext( ScXMLImport& rImport, nGroupEndRow(0), bHeader(bTempHeader), bGroup(bTempGroup), - bGroupDisplay(sal_True) + bGroupDisplay(true) { // don't have any attributes if (bHeader) @@ -286,12 +286,12 @@ SvXMLImportContext *ScXMLTableRowsContext::CreateChildContext( sal_uInt16 nPrefi case XML_TOK_TABLE_ROWS_ROW_GROUP: pContext = new ScXMLTableRowsContext( GetScImport(), nPrefix, rLName, xAttrList, - false, sal_True ); + false, true ); break; case XML_TOK_TABLE_ROWS_HEADER_ROWS: pContext = new ScXMLTableRowsContext( GetScImport(), nPrefix, rLName, xAttrList, - sal_True, false ); + true, false ); break; case XML_TOK_TABLE_ROWS_ROWS: pContext = new ScXMLTableRowsContext( GetScImport(), nPrefix, @@ -325,7 +325,7 @@ void ScXMLTableRowsContext::EndElement() { if (!xPrintAreas->getPrintTitleRows()) { - xPrintAreas->setPrintTitleRows(sal_True); + xPrintAreas->setPrintTitleRows(true); table::CellRangeAddress aRowHeaderRange; aRowHeaderRange.StartRow = nHeaderStartRow; aRowHeaderRange.EndRow = nHeaderEndRow; @@ -350,7 +350,7 @@ void ScXMLTableRowsContext::EndElement() if (pDoc) { ScXMLImport::MutexGuard aGuard(GetScImport()); - ScOutlineTable* pOutlineTable(pDoc->GetOutlineTable(nSheet, sal_True)); + ScOutlineTable* pOutlineTable(pDoc->GetOutlineTable(nSheet, true)); ScOutlineArray* pRowArray(pOutlineTable->GetRowArray()); bool bResized; pRowArray->Insert(static_cast<SCROW>(nGroupStartRow), static_cast<SCROW>(nGroupEndRow), bResized, !bGroupDisplay, true); |