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

Tor Lillqvist tml at collabora.com
Thu Jul 23 03:32:52 PDT 2015


 extensions/source/ole/unoconversionutilities.hxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit ba39c9dd6a990ebc6dcba8e472c0d7d213de9412
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Jul 23 13:29:31 2015 +0300

    Bin pointless #ifndef #define dance
    
    Change-Id: I0f7a3183a16a56f831a828af9de6c8f8c459339a

diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index 122acc5..6be0884 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -2387,8 +2387,6 @@ Reference<XTypeConverter> UnoConversionUtilities<T>::getTypeConverter()
 
 // The function is not used when elements are to be converted for Sequences.
 
-#ifndef _REDUCE_RANGE
-#define _REDUCE_RANGE
 inline void reduceRange( Any& any)
 {
     OSL_ASSERT( any.getValueTypeClass() == TypeClass_LONG);
@@ -2405,9 +2403,6 @@ inline void reduceRange( Any& any)
         any.setValue( &shortVal, cppu::UnoType<sal_Int16>::get());
     }
 }
-#endif
-
-
 
 } // end namespace
 #endif


More information about the Libreoffice-commits mailing list