diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-30 15:14:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-30 15:14:03 +0200 |
commit | 8fec9e7e4ca97e14551a737583226f89b0c6eecd (patch) | |
tree | 97b0c9e68fd2c3ad75f9b7d52a76a134522b8350 /filter | |
parent | e630df7853a62225cd77fc4262689ef5607d2907 (diff) |
Some clean up of uses of css::uno::Any::setValue
Change-Id: I04e8aef35a6083b61d775c8eb3f96757da2b31bd
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/icgm/actimpr.cxx | 3 | ||||
-rw-r--r-- | filter/source/msfilter/msocximex.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/filter/source/graphicfilter/icgm/actimpr.cxx b/filter/source/graphicfilter/icgm/actimpr.cxx index de256bad966a..2d364c48e580 100644 --- a/filter/source/graphicfilter/icgm/actimpr.cxx +++ b/filter/source/graphicfilter/icgm/actimpr.cxx @@ -516,8 +516,7 @@ void CGMImpressOutAct::DrawEllipticalArc( FloatPoint& rCenter, FloatPoint& rSize if ( nType == 2 ) { ImplSetLineBundle(); - drawing::FillStyle eFillStyle = drawing::FillStyle_NONE; - aAny.setValue( &eFillStyle, cppu::UnoType<drawing::FillStyle>::get()); + aAny <<= drawing::FillStyle_NONE; maXPropSet->setPropertyValue( "FillStyle", aAny ); } } diff --git a/filter/source/msfilter/msocximex.cxx b/filter/source/msfilter/msocximex.cxx index 5ed9bbf2b5a3..784844821091 100644 --- a/filter/source/msfilter/msocximex.cxx +++ b/filter/source/msfilter/msocximex.cxx @@ -132,8 +132,7 @@ const uno::Reference< container::XIndexContainer >& uno::UNO_QUERY ); OSL_ENSURE( xForms.is(), "XForms not available" ); - aTmp.setValue( &xForm, - cppu::UnoType<form::XForm>::get()); + aTmp <<= xForm; xForms->insertByIndex( xForms->getCount(), aTmp ); xFormComps = uno::Reference< container::XIndexContainer > |