From 9222f5d065bb2aafcfef93e77c58a82672a9ad22 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 8 Apr 2015 17:45:08 +0200 Subject: A UNO Any can't contain an Any ...and css::uno::makeAny() was never meant to be used. Introduce css::uno::toAny for the (template-code) cases that shall return an Any for both Any and non-Any inputs. Change-Id: Ifa977d73f1da71b2fedde7e8140b19497c4a0257 --- canvas/source/tools/canvastools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'canvas') diff --git a/canvas/source/tools/canvastools.cxx b/canvas/source/tools/canvastools.cxx index 7b3ae29f4e15..7db3572b4dae 100644 --- a/canvas/source/tools/canvastools.cxx +++ b/canvas/source/tools/canvastools.cxx @@ -1167,7 +1167,7 @@ namespace canvas o_rxParams.realloc( 2 ); o_rxParams[ 0 ] = uno::makeAny( xServiceInfo->getImplementationName() ); - o_rxParams[ 1 ] = uno::makeAny( xPropSet->getPropertyValue( "DeviceHandle" ) ); + o_rxParams[ 1 ] = xPropSet->getPropertyValue( "DeviceHandle" ); } catch( const uno::Exception& ) { -- cgit