diff options
Diffstat (limited to 'canvas')
-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( |