summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLAxisContext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-24 11:22:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-28 10:17:47 +0000
commit198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac (patch)
tree041d55126e9770b81f68fadfaaa69e82313786b3 /xmloff/source/chart/SchXMLAxisContext.cxx
parentd3981b3e8c021ee03a2ca7103a73e56cca18df81 (diff)
new loplugin unoany
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/chart/SchXMLAxisContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLAxisContext.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index 3172b6009888..3c72187bc5a1 100644
--- a/xmloff/source/chart/SchXMLAxisContext.cxx
+++ b/xmloff/source/chart/SchXMLAxisContext.cxx
@@ -349,7 +349,7 @@ bool lcl_divideBy100( uno::Any& rDoubleAny )
if( (rDoubleAny>>=fValue) && (fValue!=0.0) )
{
fValue/=100.0;
- rDoubleAny = uno::makeAny(fValue);
+ rDoubleAny <<= fValue;
bChanged = true;
}
return bChanged;
@@ -945,7 +945,7 @@ void DateScaleContext::StartElement( const Reference< xml::sax::XAttributeList >
{
case XML_TOK_DATESCALE_BASE_TIME_UNIT:
{
- aIncrement.TimeResolution = uno::makeAny( lcl_getTimeUnit(aValue) );
+ aIncrement.TimeResolution <<= lcl_getTimeUnit(aValue);
bSetNewIncrement = true;
}
break;
@@ -954,7 +954,7 @@ void DateScaleContext::StartElement( const Reference< xml::sax::XAttributeList >
chart::TimeInterval aInterval(1,0);
aIncrement.MajorTimeInterval >>= aInterval;
::sax::Converter::convertNumber( aInterval.Number, aValue );
- aIncrement.MajorTimeInterval = uno::makeAny(aInterval);
+ aIncrement.MajorTimeInterval <<= aInterval;
bSetNewIncrement = true;
}
break;
@@ -963,7 +963,7 @@ void DateScaleContext::StartElement( const Reference< xml::sax::XAttributeList >
chart::TimeInterval aInterval(1,0);
aIncrement.MajorTimeInterval >>= aInterval;
aInterval.TimeUnit = lcl_getTimeUnit(aValue);
- aIncrement.MajorTimeInterval = uno::makeAny(aInterval);
+ aIncrement.MajorTimeInterval <<= aInterval;
bSetNewIncrement = true;
}
break;
@@ -972,7 +972,7 @@ void DateScaleContext::StartElement( const Reference< xml::sax::XAttributeList >
chart::TimeInterval aInterval(1,0);
aIncrement.MinorTimeInterval >>= aInterval;
::sax::Converter::convertNumber( aInterval.Number, aValue );
- aIncrement.MinorTimeInterval = uno::makeAny(aInterval);
+ aIncrement.MinorTimeInterval <<= aInterval;
bSetNewIncrement = true;
}
break;
@@ -981,7 +981,7 @@ void DateScaleContext::StartElement( const Reference< xml::sax::XAttributeList >
chart::TimeInterval aInterval(1,0);
aIncrement.MinorTimeInterval >>= aInterval;
aInterval.TimeUnit = lcl_getTimeUnit(aValue);
- aIncrement.MinorTimeInterval = uno::makeAny(aInterval);
+ aIncrement.MinorTimeInterval <<= aInterval;
bSetNewIncrement = true;
}
break;