summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-18 12:56:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 19:28:18 +0000
commit7567a4c230625bbf922c52c861363f1cc4d6a1c7 (patch)
tree4fe8184d18021beb6c194cc899cec568db5c4ae1 /svtools
parentloplugin:nullptr, loplugin:redundantcast (diff)
downloadcore-7567a4c230625bbf922c52c861363f1cc4d6a1c7.tar.gz
core-7567a4c230625bbf922c52c861363f1cc4d6a1c7.zip
'>>=' with rhs Any is a copy assignment
replace '>>=' operator with '=' where return value is not checked and simplify. (note: switches lhs with rhs) Change-Id: I0d283e8786ea996ed80d7aa9d8a4ea930a3d52f8 Reviewed-on: https://gerrit.libreoffice.org/30004 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/renderer.cxx2
-rw-r--r--svtools/source/uno/unoiface.cxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/graphic/renderer.cxx b/svtools/source/graphic/renderer.cxx
index d7134e7665e6..19c32bde01e2 100644
--- a/svtools/source/graphic/renderer.cxx
+++ b/svtools/source/graphic/renderer.cxx
@@ -208,7 +208,7 @@ void GraphicRendererVCL::_setPropertyValues( const comphelper::PropertyMapEntry*
case UNOGRAPHIC_RENDERDATA:
{
- *pValues >>= maRenderData;
+ maRenderData = *pValues;
}
break;
}
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index b286fa1a5cd0..d250fa12e235 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -1439,8 +1439,6 @@ void SVTXRoadmap::propertyChange( const css::beans::PropertyChangeEvent& evt ) t
css::uno::Any aValue = xPropertySet->getPropertyValue("ID");
aValue >>= nID;
- css::uno::Any rVal = evt.NewValue;
- evt.NewValue >>= rVal;
OUString sPropertyName = evt.PropertyName;
if ( sPropertyName == "Enabled" )
{