diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-31 11:47:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-31 12:39:03 +0200 |
commit | 0f912872b661a6763dfd5789c0377ca453f7e260 (patch) | |
tree | 7a21e618293c5873ab3370ba7ffe8e0cb78fb838 /reportdesign | |
parent | 0e8ab0fa298ad5c801aa94fb3e3fd2daa93d634c (diff) |
xmloff: sal_Bool->bool
Change-Id: Id3d8f4f4ef32280a131907ffa32eb2ad5d6ea2e1
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlStyleImport.cxx | 6 | ||||
-rw-r--r-- | reportdesign/source/filter/xml/xmlfilter.cxx | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/reportdesign/source/filter/xml/xmlStyleImport.cxx b/reportdesign/source/filter/xml/xmlStyleImport.cxx index 3af2d20e60d1..9138c7c73717 100644 --- a/reportdesign/source/filter/xml/xmlStyleImport.cxx +++ b/reportdesign/source/filter/xml/xmlStyleImport.cxx @@ -102,13 +102,13 @@ void OControlStyleContext::FillPropertySet(const Reference< XPropertySet > & rPr if ((m_nNumberFormat == -1) && !m_sDataStyleName.isEmpty()) { SvXMLNumFormatContext* pStyle = const_cast< SvXMLNumFormatContext*>(dynamic_cast<const SvXMLNumFormatContext*>(pStyles->FindStyleChildContext( - XML_STYLE_FAMILY_DATA_STYLE, m_sDataStyleName, sal_False))); + XML_STYLE_FAMILY_DATA_STYLE, m_sDataStyleName, false))); if ( !pStyle ) { OReportStylesContext* pMyStyles = PTR_CAST(OReportStylesContext,GetOwnImport().GetAutoStyles()); if ( pMyStyles ) pStyle = PTR_CAST(SvXMLNumFormatContext,pMyStyles-> - FindStyleChildContext(XML_STYLE_FAMILY_DATA_STYLE, m_sDataStyleName, sal_True)); + FindStyleChildContext(XML_STYLE_FAMILY_DATA_STYLE, m_sDataStyleName, true)); else { OSL_FAIL("not possible to get style"); } @@ -186,7 +186,7 @@ void OReportStylesContext::EndElement() if (bAutoStyles) GetImport().GetTextImport()->SetAutoStyles( this ); else - GetImport().GetStyles()->CopyStylesToDoc(sal_True); + GetImport().GetStyles()->CopyStylesToDoc(true); } diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx index 1f2a78ccc69d..4690abce0ed4 100644 --- a/reportdesign/source/filter/xml/xmlfilter.cxx +++ b/reportdesign/source/filter/xml/xmlfilter.cxx @@ -110,9 +110,10 @@ RptMLMasterStylesContext_Impl::~RptMLMasterStylesContext_Impl() void RptMLMasterStylesContext_Impl::EndElement() { - FinishStyles( sal_True ); + FinishStyles( true ); m_rImport.FinishStyles(); } + /// read a component (file + filter version) sal_Int32 ReadThroughComponent( const uno::Reference<XInputStream>& xInputStream, @@ -973,7 +974,7 @@ XMLShapeImportHelper* ORptFilter::CreateShapeImport() void ORptFilter::FinishStyles() { if( GetStyles() ) - GetStyles()->FinishStyles( sal_True ); + GetStyles()->FinishStyles( true ); } OUString ORptFilter::convertFormula(const OUString& _sFormula) |