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 /canvas/source | |
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 'canvas/source')
-rw-r--r-- | canvas/source/cairo/cairo_canvasbitmap.cxx | 4 | ||||
-rw-r--r-- | canvas/source/factory/cf_service.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/cairo/cairo_canvasbitmap.cxx b/canvas/source/cairo/cairo_canvasbitmap.cxx index 932dd33ed692..d3cdef800e9f 100644 --- a/canvas/source/cairo/cairo_canvasbitmap.cxx +++ b/canvas/source/cairo/cairo_canvasbitmap.cxx @@ -114,7 +114,7 @@ namespace cairocanvas { case 0: { - aRV = uno::Any( reinterpret_cast<sal_Int64>( nullptr ) ); + aRV <<= reinterpret_cast<sal_Int64>( nullptr ); if ( !mbHasAlpha ) break; @@ -188,7 +188,7 @@ namespace cairocanvas cairo_destroy( pCairo ); cairo_surface_destroy( pPixels ); - aRV = uno::Any( reinterpret_cast<sal_Int64>( pBitmapEx ) ); + aRV <<= reinterpret_cast<sal_Int64>( pBitmapEx ); break; } case 1: diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx index 28b6df740b1a..e0fc9e9448f5 100644 --- a/canvas/source/factory/cf_service.cxx +++ b/canvas/source/factory/cf_service.cxx @@ -141,11 +141,11 @@ CanvasFactory::CanvasFactory( Reference<XComponentContext> const & xContext ) : Sequence<Any>( &propValue, 1 ) ), UNO_QUERY_THROW ); - propValue = Any( + propValue <<= beans::PropertyValue( "nodepath", -1, Any( OUString("/org.openoffice.Office.Canvas/CanvasServiceList") ), - beans::PropertyState_DIRECT_VALUE ) ); + beans::PropertyState_DIRECT_VALUE ); Reference<container::XNameAccess> xNameAccess( xConfigProvider->createInstanceWithArguments( |