diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-24 11:22:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-28 10:17:47 +0000 |
commit | 198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac (patch) | |
tree | 041d55126e9770b81f68fadfaaa69e82313786b3 /oox/source/docprop | |
parent | d3981b3e8c021ee03a2ca7103a73e56cca18df81 (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 'oox/source/docprop')
-rw-r--r-- | oox/source/docprop/docprophandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/docprop/docprophandler.cxx b/oox/source/docprop/docprophandler.cxx index ec75f877fabf..6ff528df1e95 100644 --- a/oox/source/docprop/docprophandler.cxx +++ b/oox/source/docprop/docprophandler.cxx @@ -249,7 +249,7 @@ void OOXMLDocPropHandler::UpdateDocStatistic( const OUString& aChars ) for ( sal_Int32 nInd = 0; nInd < nLen; nInd++ ) if ( aSet[nInd].Name.equals( aName ) ) { - aSet[nInd].Value = uno::makeAny( aChars.toInt32() ); + aSet[nInd].Value <<= aChars.toInt32(); bFound = true; break; } @@ -258,7 +258,7 @@ void OOXMLDocPropHandler::UpdateDocStatistic( const OUString& aChars ) { aSet.realloc( nLen + 1 ); aSet[nLen].Name = aName; - aSet[nLen].Value = uno::makeAny( aChars.toInt32() ); + aSet[nLen].Value <<= aChars.toInt32(); } m_xDocProp->setDocumentStatistics( aSet ); |