diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-11 11:06:17 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-11 11:06:17 +0200 |
commit | 5423e45f34ae3adc7dae0f2bdeb158fa90ba5a0e (patch) | |
tree | ba9a20ae4de8729b7c773153e1a00e5948d3deb1 /extensions/source/ole | |
parent | 592b61e17c2ef5181211396123f18c501362b31d (diff) |
Fix previous commit (extensions part, second)
Change-Id: Iac6c801478a583346c8358456b788a0085158981
Diffstat (limited to 'extensions/source/ole')
-rw-r--r-- | extensions/source/ole/unoconversionutilities.hxx | 4 |
1 files 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<T>::variantToAny( const VARIANT* pVariant, Any& rAny rAny.setValue(NULL, Type()); break; case VT_I2: - rAny.setValue( & var.iVal, cppu::UnoType<sal_Int16>::get()0)); + rAny.setValue( & var.iVal, cppu::UnoType<sal_Int16>::get()); break; case VT_I4: rAny.setValue( & var.lVal, cppu::UnoType<sal_Int32>::get()); @@ -2403,7 +2403,7 @@ inline void reduceRange( Any& any) else if( value <= 0x7fff && value >= -0x8000) {// -32768 bis 32767 sal_Int16 shortVal= static_cast<sal_Int16>( value); - any.setValue( &shortVal, cppu::UnoType<sal_Int16>::get()0)); + any.setValue( &shortVal, cppu::UnoType<sal_Int16>::get()); } } #endif |