[Libreoffice-commits] core.git: extensions/source

Julien Nabet serval2412 at yahoo.fr
Sun May 11 02:06:47 PDT 2014


 extensions/source/ole/unoconversionutilities.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5423e45f34ae3adc7dae0f2bdeb158fa90ba5a0e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun May 11 11:06:17 2014 +0200

    Fix previous commit (extensions part, second)
    
    Change-Id: Iac6c801478a583346c8358456b788a0085158981

diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index aaa80d3..d8b12f5 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


More information about the Libreoffice-commits mailing list