diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-04 15:36:52 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-04 17:01:12 +0100 |
commit | aa3926d8122a2627a99a4bb7bc6ec98637d45efe (patch) | |
tree | 9a4366acdd2d93434f420299acd4e36c3a7aa071 /xmloff/source/chart | |
parent | 45169c93d57acf066748c3ff93b45c919e209db7 (diff) |
native bool support in SvXMLUnitConverter
Diffstat (limited to 'xmloff/source/chart')
-rw-r--r-- | xmloff/source/chart/PropertyMaps.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/chart/XMLErrorIndicatorPropertyHdl.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx index d2be11a0013e..3cba7cf5f9e0 100644 --- a/xmloff/source/chart/PropertyMaps.cxx +++ b/xmloff/source/chart/PropertyMaps.cxx @@ -496,7 +496,7 @@ XMLChartImportPropertyMapper::~XMLChartImportPropertyMapper() { } -sal_Bool XMLChartImportPropertyMapper::handleSpecialItem( +bool XMLChartImportPropertyMapper::handleSpecialItem( XMLPropertyState& rProperty, ::std::vector< XMLPropertyState >& rProperties, const ::rtl::OUString& rValue, @@ -510,7 +510,7 @@ sal_Bool XMLChartImportPropertyMapper::handleSpecialItem( if( nContextId ) { sal_Int32 nValue = 0; - sal_Bool bValue = sal_False; + bool bValue = false; switch( nContextId ) { diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index 9b6731f78da3..fbfbfa630193 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -2053,8 +2053,8 @@ void SchXMLEquationContext::StartElement( const uno::Reference< xml::sax::XAttri const SvXMLTokenMap& rAttrTokenMap = mrImportHelper.GetRegEquationAttrTokenMap(); OUString sAutoStyleName; - sal_Bool bShowEquation = sal_True; - sal_Bool bShowRSquare = sal_False; + bool bShowEquation = true; + bool bShowRSquare = false; awt::Point aPosition; bool bHasXPos = false; bool bHasYPos = false; diff --git a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.cxx b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.cxx index 6dbb39926c6c..13169e34d892 100644 --- a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.cxx +++ b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.cxx @@ -40,7 +40,7 @@ XMLErrorIndicatorPropertyHdl::~XMLErrorIndicatorPropertyHdl() sal_Bool XMLErrorIndicatorPropertyHdl::importXML( const ::rtl::OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& /*rUnitConverter*/ ) const { - sal_Bool bValue; + bool bValue; SvXMLUnitConverter::convertBool( bValue, rStrImpValue ); // modify existing value |