From 5423e45f34ae3adc7dae0f2bdeb158fa90ba5a0e Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 11 May 2014 11:06:17 +0200 Subject: [PATCH] Fix previous commit (extensions part, second) Change-Id: Iac6c801478a583346c8358456b788a0085158981 --- extensions/source/ole/unoconversionutilities.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index aaa80d3bd33f..d8b12f59f2e7 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1488,7 +1488,7 @@ void UnoConversionUtilities::variantToAny( const VARIANT* pVariant, Any& rAny rAny.setValue(NULL, Type()); break; case VT_I2: - rAny.setValue( & var.iVal, cppu::UnoType::get()0)); + rAny.setValue( & var.iVal, cppu::UnoType::get()); break; case VT_I4: rAny.setValue( & var.lVal, cppu::UnoType::get()); @@ -2403,7 +2403,7 @@ inline void reduceRange( Any& any) else if( value <= 0x7fff && value >= -0x8000) {// -32768 bis 32767 sal_Int16 shortVal= static_cast( value); - any.setValue( &shortVal, cppu::UnoType::get()0)); + any.setValue( &shortVal, cppu::UnoType::get()); } } #endif