Kaydet (Commit) 6231a9b4 authored tarafından Noel Grandin's avatar Noel Grandin

visual studio version 4 is long gone

Change-Id: Icf0b4153d07d9c412889d6a7364d4282bba33032
üst 115fa590
...@@ -43,13 +43,6 @@ inline void SAL_CALL convertPropertyValue( target &value , const css::uno::Any ...@@ -43,13 +43,6 @@ inline void SAL_CALL convertPropertyValue( target &value , const css::uno::Any
} }
// This template is needed at least for msci4 compiler
template < class target >
inline void SAL_CALL convertPropertyValue( target &value , css::uno::Any & a)
{
convertPropertyValue( value , (const css::uno::Any & ) a );
}
/** /**
conversion of basic types conversion of basic types
*/ */
...@@ -384,13 +377,12 @@ inline void SAL_CALL convertPropertyValue( float &f , const css::uno::Any &a ) ...@@ -384,13 +377,12 @@ inline void SAL_CALL convertPropertyValue( float &f , const css::uno::Any &a )
a >>= i64; a >>= i64;
f = ( float ) i64; f = ( float ) i64;
} }
// msci 4 does not support this conversion else if( css::uno::TypeClass_UNSIGNED_HYPER == tc ) {
/* else if( css::uno::TypeClass_UNSIGNED_HYPER == tc ) { sal_uInt64 i64 = 0;
sal_uInt64 i64;
a >>= i64; a >>= i64;
f = ( float ) i64; f = ( float ) i64;
} }
*/ else if( css::uno::TypeClass_LONG == tc ) { else if( css::uno::TypeClass_LONG == tc ) {
sal_Int32 i32 = 0; sal_Int32 i32 = 0;
a >>= i32; a >>= i32;
f = ( float )i32; f = ( float )i32;
...@@ -450,13 +442,12 @@ inline void SAL_CALL convertPropertyValue( double &d , const css::uno::Any &a ) ...@@ -450,13 +442,12 @@ inline void SAL_CALL convertPropertyValue( double &d , const css::uno::Any &a )
a >>= i64; a >>= i64;
d = (double) i64; d = (double) i64;
} }
// msci 4 does not support this else if( css::uno::TypeClass_UNSIGNED_HYPER == tc ) {
/* else if( css::uno::TypeClass_UNSIGNED_HYPER == tc ) { sal_uInt64 i64 = 0;
sal_uInt64 i64;
a >>= i64; a >>= i64;
d = (double) i64; d = (double) i64;
} }
*/ else if( css::uno::TypeClass_LONG == tc ) { else if( css::uno::TypeClass_LONG == tc ) {
sal_Int32 i32; sal_Int32 i32;
a >>= i32; a >>= i32;
d = (double)i32; d = (double)i32;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment