diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-28 16:28:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-31 12:39:02 +0200 |
commit | 6ac6fb820f9e12649507cb5233c3b1727d67f2fd (patch) | |
tree | e9cf0ecee233a800c73a356677b0921c1c04d25c /xmloff/source/style | |
parent | f907d740351886194bf2c9bcffceed22c4698ca5 (diff) |
xmloff: sal_Bool->bool
Change-Id: I64c33ae4c157e270acac9a1f820d3e6272ba0bea
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/DashStyle.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/GradientStyle.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/HatchStyle.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/ImageStyle.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/MarkerStyle.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/TransGradientStyle.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/XMLBackgroundImageExport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/XMLFontAutoStylePool.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/style/XMLFootnoteSeparatorExport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/XMLPageExport.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/style/impastpl.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/styleexp.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/style/xmlaustp.cxx | 12 | ||||
-rw-r--r-- | xmloff/source/style/xmlexppr.cxx | 10 | ||||
-rw-r--r-- | xmloff/source/style/xmlnume.cxx | 12 | ||||
-rw-r--r-- | xmloff/source/style/xmlnumfe.cxx | 48 | ||||
-rw-r--r-- | xmloff/source/style/xmltabe.cxx | 4 |
17 files changed, 59 insertions, 59 deletions
diff --git a/xmloff/source/style/DashStyle.cxx b/xmloff/source/style/DashStyle.cxx index 3ba46fe8842d..efd388fb062c 100644 --- a/xmloff/source/style/DashStyle.cxx +++ b/xmloff/source/style/DashStyle.cxx @@ -309,7 +309,7 @@ bool XMLDashStyleExport::exportXML( // do Write SvXMLElementExport rElem( rExport, XML_NAMESPACE_DRAW, XML_STROKE_DASH, - sal_True, sal_False ); + true, false ); } } return bRet; diff --git a/xmloff/source/style/GradientStyle.cxx b/xmloff/source/style/GradientStyle.cxx index 2fed5d68c725..111b0dba135a 100644 --- a/xmloff/source/style/GradientStyle.cxx +++ b/xmloff/source/style/GradientStyle.cxx @@ -301,7 +301,7 @@ bool XMLGradientStyleExport::exportXML( // Do Write SvXMLElementExport aElem( rExport, XML_NAMESPACE_DRAW, XML_GRADIENT, - sal_True, sal_False ); + true, false ); } } } diff --git a/xmloff/source/style/HatchStyle.cxx b/xmloff/source/style/HatchStyle.cxx index 832d19774054..589c0e6e8b57 100644 --- a/xmloff/source/style/HatchStyle.cxx +++ b/xmloff/source/style/HatchStyle.cxx @@ -229,7 +229,7 @@ bool XMLHatchStyleExport::exportXML( // Do Write SvXMLElementExport rElem( rExport, XML_NAMESPACE_DRAW, XML_HATCH, - sal_True, sal_False ); + true, false ); } } } diff --git a/xmloff/source/style/ImageStyle.cxx b/xmloff/source/style/ImageStyle.cxx index 0577fc922d86..5e355ff23f53 100644 --- a/xmloff/source/style/ImageStyle.cxx +++ b/xmloff/source/style/ImageStyle.cxx @@ -88,7 +88,7 @@ void XMLImageStyle::ImpExportXML( const OUString& rStrName, const uno::Any& rVal } // Do Write - SvXMLElementExport aElem( rExport, XML_NAMESPACE_DRAW, XML_FILL_IMAGE, sal_True, sal_True ); + SvXMLElementExport aElem( rExport, XML_NAMESPACE_DRAW, XML_FILL_IMAGE, true, true ); if( !sImageURL.isEmpty() ) { diff --git a/xmloff/source/style/MarkerStyle.cxx b/xmloff/source/style/MarkerStyle.cxx index b07eb1067b35..acad58b5eb34 100644 --- a/xmloff/source/style/MarkerStyle.cxx +++ b/xmloff/source/style/MarkerStyle.cxx @@ -201,7 +201,7 @@ void XMLMarkerStyleExport::exportXML( rExport.AddAttribute(XML_NAMESPACE_SVG, XML_D, aPolygonString); // Do Write - SvXMLElementExport rElem( rExport, XML_NAMESPACE_DRAW, XML_MARKER, sal_True, sal_False ); + SvXMLElementExport rElem( rExport, XML_NAMESPACE_DRAW, XML_MARKER, true, false ); } } } diff --git a/xmloff/source/style/TransGradientStyle.cxx b/xmloff/source/style/TransGradientStyle.cxx index e2964647998f..1c66c25824ac 100644 --- a/xmloff/source/style/TransGradientStyle.cxx +++ b/xmloff/source/style/TransGradientStyle.cxx @@ -300,7 +300,7 @@ sal_Bool XMLTransGradientStyleExport::exportXML( // Do Write SvXMLElementExport rElem( rExport, XML_NAMESPACE_DRAW, XML_OPACITY, - sal_True, sal_False ); + true, false ); } } } diff --git a/xmloff/source/style/XMLBackgroundImageExport.cxx b/xmloff/source/style/XMLBackgroundImageExport.cxx index 25dba04d75c3..d8578becd020 100644 --- a/xmloff/source/style/XMLBackgroundImageExport.cxx +++ b/xmloff/source/style/XMLBackgroundImageExport.cxx @@ -154,7 +154,7 @@ void XMLBackgroundImageExport::exportXML( const Any& rURL, } { - SvXMLElementExport aElem( GetExport(), nPrefix, rLocalName, sal_True, sal_True ); + SvXMLElementExport aElem( GetExport(), nPrefix, rLocalName, true, true ); if( !sURL.isEmpty() && GraphicLocation_NONE != ePos ) { // optional office:binary-data diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx index b83bf9cd4cc6..ff95ad6143e5 100644 --- a/xmloff/source/style/XMLFontAutoStylePool.cxx +++ b/xmloff/source/style/XMLFontAutoStylePool.cxx @@ -222,7 +222,7 @@ void XMLFontAutoStylePool::exportXML() { SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_OFFICE, XML_FONT_FACE_DECLS, - sal_True, sal_True ); + true, true ); Any aAny; OUString sTmp; XMLFontFamilyNamePropHdl aFamilyNameHdl; @@ -268,7 +268,7 @@ void XMLFontAutoStylePool::exportXML() SvXMLElementExport aElement( GetExport(), XML_NAMESPACE_STYLE, XML_FONT_FACE, - sal_True, sal_True ); + true, true ); if( tryToEmbedFonts ) { diff --git a/xmloff/source/style/XMLFootnoteSeparatorExport.cxx b/xmloff/source/style/XMLFootnoteSeparatorExport.cxx index 3dbfd9c82600..5404963d799c 100644 --- a/xmloff/source/style/XMLFootnoteSeparatorExport.cxx +++ b/xmloff/source/style/XMLFootnoteSeparatorExport.cxx @@ -179,7 +179,7 @@ void XMLFootnoteSeparatorExport::exportXML( // line-style SvXMLElementExport aElem(rExport, XML_NAMESPACE_STYLE, - XML_FOOTNOTE_SEP, sal_True, sal_True); + XML_FOOTNOTE_SEP, true, true); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/style/XMLPageExport.cxx b/xmloff/source/style/XMLPageExport.cxx index 7335548eebda..973d648d9c73 100644 --- a/xmloff/source/style/XMLPageExport.cxx +++ b/xmloff/source/style/XMLPageExport.cxx @@ -141,7 +141,7 @@ bool XMLPageExport::exportStyle( } SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, - XML_MASTER_PAGE, sal_True, sal_True ); + XML_MASTER_PAGE, true, true ); exportMasterPageContent( xPropSet, false ); } @@ -162,7 +162,7 @@ XMLPageExport::XMLPageExport( SvXMLExport& rExp ) : xPageMasterPropSetMapper, rExp); rExport.GetAutoStylePool()->AddFamily( XML_STYLE_FAMILY_PAGE_MASTER, OUString( XML_STYLE_FAMILY_PAGE_MASTER_NAME ), - xPageMasterExportPropMapper, OUString( XML_STYLE_FAMILY_PAGE_MASTER_PREFIX ), sal_False ); + xPageMasterExportPropMapper, OUString( XML_STYLE_FAMILY_PAGE_MASTER_PREFIX ), false ); Reference< XStyleFamiliesSupplier > xFamiliesSupp( GetExport().GetModel(), UNO_QUERY ); @@ -252,7 +252,7 @@ void XMLPageExport::exportDefaultStyle() //<style:default-page-layout> SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, XML_DEFAULT_PAGE_LAYOUT, - sal_True, sal_True ); + true, true ); xPageMasterExportPropMapper->exportXML( GetExport(), xPropStates, XML_EXPORT_FLAG_IGN_WS ); diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx index c02315fa013d..2d954aa048c7 100644 --- a/xmloff/source/style/impastpl.cxx +++ b/xmloff/source/style/impastpl.cxx @@ -716,7 +716,7 @@ void SvXMLAutoStylePoolP_Impl::exportXML( SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, sName, - sal_True, sal_True ); + true, true ); sal_Int32 nStart(-1); sal_Int32 nEnd(-1); diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx index 5af7c127907c..e37ba3288c51 100644 --- a/xmloff/source/style/styleexp.cxx +++ b/xmloff/source/style/styleexp.cxx @@ -312,7 +312,7 @@ bool XMLStyleExport::exportStyle( { // <style:style> SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, XML_STYLE, - sal_True, sal_True ); + true, true ); rPropMapper->SetStyleName( sName ); @@ -352,7 +352,7 @@ bool XMLStyleExport::exportDefaultStyle( // <style:style> SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, XML_DEFAULT_STYLE, - sal_True, sal_True ); + true, true ); // <style:properties> ::std::vector< XMLPropertyState > xPropStates = rPropMapper->FilterDefaults( xPropSet ); diff --git a/xmloff/source/style/xmlaustp.cxx b/xmloff/source/style/xmlaustp.cxx index 944caa0634bc..667643a5312d 100644 --- a/xmloff/source/style/xmlaustp.cxx +++ b/xmloff/source/style/xmlaustp.cxx @@ -240,7 +240,7 @@ void SvXMLAutoStylePoolP::exportStyleContent( { SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, XML_HEADER_STYLE, - sal_True, sal_True ); + true, true ); rPropExp.exportXML( GetExport(), rProperties, @@ -251,7 +251,7 @@ void SvXMLAutoStylePoolP::exportStyleContent( { SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, XML_FOOTER_STYLE, - sal_True, sal_True ); + true, true ); rPropExp.exportXML( GetExport(), rProperties, @@ -281,7 +281,7 @@ void SvXMLAutoStylePoolP::AddFamily( const OUString& rStrName, SvXMLExportPropertyMapper* pMapper, const OUString& aStrPrefix, - sal_Bool bAsFamily ) + bool bAsFamily ) { UniReference <SvXMLExportPropertyMapper> xTmp = pMapper; AddFamily( nFamily, rStrName, xTmp, aStrPrefix, bAsFamily ); @@ -292,7 +292,7 @@ void SvXMLAutoStylePoolP::AddFamily( const OUString& rStrName, const UniReference < SvXMLExportPropertyMapper > & rMapper, const OUString& rStrPrefix, - sal_Bool bAsFamily ) + bool bAsFamily ) { pImpl->AddFamily( nFamily, rStrName, rMapper, rStrPrefix, bAsFamily ); } @@ -350,12 +350,12 @@ OUString SvXMLAutoStylePoolP::Add( sal_Int32 nFamily, return sName; } -sal_Bool SvXMLAutoStylePoolP::Add(OUString& rName, sal_Int32 nFamily, const OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties ) +bool SvXMLAutoStylePoolP::Add(OUString& rName, sal_Int32 nFamily, const OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties ) { return pImpl->Add(rName, nFamily, rParent, rProperties); } -sal_Bool SvXMLAutoStylePoolP::AddNamed( const OUString& rName, sal_Int32 nFamily, const OUString& rParent, +bool SvXMLAutoStylePoolP::AddNamed( const OUString& rName, sal_Int32 nFamily, const OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties ) { diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index 8c482294032d..b1a62832e66c 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -666,11 +666,11 @@ void SvXMLExportPropertyMapper::ContextFilter( // 1.Number of elements equal ? // 2.Index of each element equal ? (So I know whether the propertynames are the same) // 3.Value of each element equal ? -sal_Bool SvXMLExportPropertyMapper::Equals( +bool SvXMLExportPropertyMapper::Equals( const vector< XMLPropertyState >& aProperties1, const vector< XMLPropertyState >& aProperties2 ) const { - sal_Bool bRet = sal_True; + bool bRet = true; sal_uInt32 nCount = aProperties1.size(); if( nCount == aProperties2.size() ) @@ -699,13 +699,13 @@ sal_Bool SvXMLExportPropertyMapper::Equals( } } else - bRet = sal_False; + bRet = false; nIndex++; } } else - bRet = sal_False; + bRet = false; return bRet; } @@ -769,7 +769,7 @@ void SvXMLExportPropertyMapper::exportXML( SvXMLElementExport aElem( rExport, XML_NAMESPACE_STYLE, aPropTokens[i].eToken, (nFlags & XML_EXPORT_FLAG_IGN_WS) != 0, - sal_False ); + false ); exportElementItems( rExport, rProperties, nFlags, aIndexArray ); } diff --git a/xmloff/source/style/xmlnume.cxx b/xmloff/source/style/xmlnume.cxx index eb90abc706a0..b3f21ecfcb72 100644 --- a/xmloff/source/style/xmlnume.cxx +++ b/xmloff/source/style/xmlnume.cxx @@ -351,7 +351,7 @@ void SvxXMLNumRuleExport::exportLevelStyle( sal_Int32 nLevel, { SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_TEXT, eElem, - sal_True, sal_True ); + true, true ); OUStringBuffer sBuffer; if ( ePosAndSpaceMode == PositionAndSpaceMode::LABEL_WIDTH_AND_POSITION ) @@ -469,7 +469,7 @@ void SvxXMLNumRuleExport::exportLevelStyle( sal_Int32 nLevel, { SvXMLElementExport aElement( GetExport(), XML_NAMESPACE_STYLE, - XML_LIST_LEVEL_PROPERTIES, sal_True, sal_True ); + XML_LIST_LEVEL_PROPERTIES, true, true ); /* Check, if properties for position-and-space-mode LABEL_ALIGNMENT are allowed to be exported. (#i89178#) @@ -519,7 +519,7 @@ void SvxXMLNumRuleExport::exportLevelStyle( sal_Int32 nLevel, SvXMLElementExport aLabelAlignmentElement( GetExport(), XML_NAMESPACE_STYLE, XML_LIST_LEVEL_LABEL_ALIGNMENT, - sal_True, sal_True ); + true, true ); } } @@ -605,7 +605,7 @@ void SvxXMLNumRuleExport::exportLevelStyle( sal_Int32 nLevel, if( GetExport().GetAttrList().getLength() > 0 ) { SvXMLElementExport aElement( GetExport(), XML_NAMESPACE_STYLE, - XML_TEXT_PROPERTIES, sal_True, sal_True ); + XML_TEXT_PROPERTIES, true, true ); } if( NumberingType::BITMAP == eType && !sImageURL.isEmpty() ) { @@ -691,7 +691,7 @@ void SvxXMLNumRuleExport::exportNumberingRule( { SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_TEXT, XML_LIST_STYLE , - sal_True, sal_True ); + true, true ); exportLevelStyles( rNumRule ); } } @@ -784,7 +784,7 @@ void SvxXMLNumRuleExport::exportOutline() } } SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_TEXT, - XML_OUTLINE_STYLE, sal_True, sal_True ); + XML_OUTLINE_STYLE, true, true ); exportLevelStyles( xNumRule, sal_True ); } } diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx index 318d93bd8d05..7ea94fae4bbb 100644 --- a/xmloff/source/style/xmlnumfe.cxx +++ b/xmloff/source/style/xmlnumfe.cxx @@ -343,7 +343,7 @@ void SvXMLNumFmtExport::FinishTextElement_Impl() if ( !sTextContent.isEmpty() ) { SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_TEXT, - sal_True, sal_False ); + true, false ); rExport.Characters( sTextContent.makeStringAndClear() ); } } @@ -358,7 +358,7 @@ void SvXMLNumFmtExport::WriteColorElement_Impl( const Color& rColor ) aColStr.makeStringAndClear() ); SvXMLElementExport aElem( rExport, XML_NAMESPACE_STYLE, XML_TEXT_PROPERTIES, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteCurrencyElement_Impl( const OUString& rString, @@ -379,7 +379,7 @@ void SvXMLNumFmtExport::WriteCurrencyElement_Impl( const OUString& rString, SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_CURRENCY_SYMBOL, - sal_True, sal_False ); + true, false ); rExport.Characters( rString ); } @@ -388,7 +388,7 @@ void SvXMLNumFmtExport::WriteBooleanElement_Impl() FinishTextElement_Impl(); SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_BOOLEAN, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteTextContentElement_Impl() @@ -396,7 +396,7 @@ void SvXMLNumFmtExport::WriteTextContentElement_Impl() FinishTextElement_Impl(); SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_TEXT_CONTENT, - sal_True, sal_False ); + true, false ); } // date elements @@ -409,7 +409,7 @@ void SvXMLNumFmtExport::WriteDayElement_Impl( const OUString& rCalendar, sal_Boo AddStyleAttr_Impl( bLong ); // adds to pAttrList SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_DAY, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteMonthElement_Impl( const OUString& rCalendar, sal_Bool bLong, sal_Bool bText ) @@ -421,7 +421,7 @@ void SvXMLNumFmtExport::WriteMonthElement_Impl( const OUString& rCalendar, sal_B AddTextualAttr_Impl( bText ); // adds to pAttrList SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_MONTH, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteYearElement_Impl( const OUString& rCalendar, sal_Bool bLong ) @@ -432,7 +432,7 @@ void SvXMLNumFmtExport::WriteYearElement_Impl( const OUString& rCalendar, sal_Bo AddStyleAttr_Impl( bLong ); // adds to pAttrList SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_YEAR, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteEraElement_Impl( const OUString& rCalendar, sal_Bool bLong ) @@ -443,7 +443,7 @@ void SvXMLNumFmtExport::WriteEraElement_Impl( const OUString& rCalendar, sal_Boo AddStyleAttr_Impl( bLong ); // adds to pAttrList SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_ERA, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteDayOfWeekElement_Impl( const OUString& rCalendar, sal_Bool bLong ) @@ -454,7 +454,7 @@ void SvXMLNumFmtExport::WriteDayOfWeekElement_Impl( const OUString& rCalendar, s AddStyleAttr_Impl( bLong ); // adds to pAttrList SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_DAY_OF_WEEK, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteWeekElement_Impl( const OUString& rCalendar ) @@ -464,7 +464,7 @@ void SvXMLNumFmtExport::WriteWeekElement_Impl( const OUString& rCalendar ) AddCalendarAttr_Impl( rCalendar ); // adds to pAttrList SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_WEEK_OF_YEAR, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteQuarterElement_Impl( const OUString& rCalendar, sal_Bool bLong ) @@ -475,7 +475,7 @@ void SvXMLNumFmtExport::WriteQuarterElement_Impl( const OUString& rCalendar, sal AddStyleAttr_Impl( bLong ); // adds to pAttrList SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_QUARTER, - sal_True, sal_False ); + true, false ); } // time elements @@ -487,7 +487,7 @@ void SvXMLNumFmtExport::WriteHoursElement_Impl( sal_Bool bLong ) AddStyleAttr_Impl( bLong ); // adds to pAttrList SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_HOURS, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteMinutesElement_Impl( sal_Bool bLong ) @@ -497,14 +497,14 @@ void SvXMLNumFmtExport::WriteMinutesElement_Impl( sal_Bool bLong ) AddStyleAttr_Impl( bLong ); // adds to pAttrList SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_MINUTES, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteRepeatedElement_Impl( sal_Unicode nChar ) { FinishTextElement_Impl(); SvXMLElementExport aElem( rExport, XML_NAMESPACE_LO_EXT, XML_FILL_CHARACTER, - sal_True, sal_False ); + true, false ); rExport.Characters( OUString( nChar ) ); } @@ -520,7 +520,7 @@ void SvXMLNumFmtExport::WriteSecondsElement_Impl( sal_Bool bLong, sal_uInt16 nDe } SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_SECONDS, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteAMPMElement_Impl() @@ -528,7 +528,7 @@ void SvXMLNumFmtExport::WriteAMPMElement_Impl() FinishTextElement_Impl(); SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_AM_PM, - sal_True, sal_False ); + true, false ); } // numbers @@ -581,7 +581,7 @@ void SvXMLNumFmtExport::WriteNumberElement_Impl( } SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_NUMBER, - sal_True, sal_True ); + true, true ); // number:embedded-text as child elements @@ -594,7 +594,7 @@ void SvXMLNumFmtExport::WriteNumberElement_Impl( rExport.AddAttribute( XML_NAMESPACE_NUMBER, XML_POSITION, OUString::number( pObj->nFormatPos ) ); SvXMLElementExport aChildElem( rExport, XML_NAMESPACE_NUMBER, XML_EMBEDDED_TEXT, - sal_True, sal_False ); + true, false ); // text as element content OUString aContent( pObj->aText ); @@ -645,7 +645,7 @@ void SvXMLNumFmtExport::WriteScientificElement_Impl( SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_SCIENTIFIC_NUMBER, - sal_True, sal_False ); + true, false ); } void SvXMLNumFmtExport::WriteFractionElement_Impl( @@ -688,7 +688,7 @@ void SvXMLNumFmtExport::WriteFractionElement_Impl( } SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, XML_FRACTION, - sal_True, sal_False ); + true, false ); } // mapping (condition) @@ -727,7 +727,7 @@ void SvXMLNumFmtExport::WriteMapElement_Impl( sal_Int32 nOp, double fLimit, sPrefix ) ) ); SvXMLElementExport aElem( rExport, XML_NAMESPACE_STYLE, XML_MAP, - sal_True, sal_False ); + true, false ); } } @@ -1090,7 +1090,7 @@ void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt // The element SvXMLElementExport aElem( rExport, XML_NAMESPACE_NUMBER, eType, - sal_True, sal_True ); + true, true ); // color (properties element) @@ -1565,7 +1565,7 @@ void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt { // for an empty format, write an empty text element SvXMLElementExport aTElem( rExport, XML_NAMESPACE_NUMBER, XML_TEXT, - sal_True, sal_False ); + true, false ); } // mapping (conditions) must be last elements diff --git a/xmloff/source/style/xmltabe.cxx b/xmloff/source/style/xmltabe.cxx index 6700aa6bcd7d..5c16c9d8b9b1 100644 --- a/xmloff/source/style/xmltabe.cxx +++ b/xmloff/source/style/xmltabe.cxx @@ -85,7 +85,7 @@ void SvxXMLTabStopExport::exportTabStop( const ::com::sun::star::style::TabStop* } SvXMLElementExport rElem( rExport, XML_NAMESPACE_STYLE, XML_TAB_STOP, - sal_True, sal_True ); + true, true ); } @@ -112,7 +112,7 @@ void SvxXMLTabStopExport::Export( const uno::Any& rAny ) const sal_Int32 nTabs = aSeq.getLength(); SvXMLElementExport rElem( rExport, XML_NAMESPACE_STYLE, XML_TAB_STOPS, - sal_True, sal_True ); + true, true ); for( sal_Int32 nIndex = 0; nIndex < nTabs; nIndex++ ) { |