summaryrefslogtreecommitdiff
path: root/cppu/inc
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2010-09-14 13:12:26 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-09-14 13:12:26 +0200
commit09ce8ce7edd4580698239ac9d610de68b7c9a76e (patch)
treecf009ec101f4bdf2f49fdcdd2d1276154cd32082 /cppu/inc
parent00d479a6449ceb0156913dea97fa32ac7133d61c (diff)
win32-vs2005-compat.diff: Fix build with Visual Studio 2005
Diffstat (limited to 'cppu/inc')
-rw-r--r--cppu/inc/com/sun/star/uno/Reference.h4
-rw-r--r--cppu/inc/com/sun/star/uno/Sequence.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/cppu/inc/com/sun/star/uno/Reference.h b/cppu/inc/com/sun/star/uno/Reference.h
index f792556dcb57..9051eed4e372 100644
--- a/cppu/inc/com/sun/star/uno/Reference.h
+++ b/cppu/inc/com/sun/star/uno/Reference.h
@@ -239,13 +239,13 @@ class Reference : public BaseReference
public:
// these are here to force memory de/allocation to sal lib.
/** @internal */
- inline static void * SAL_CALL operator new ( size_t nSize ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new ( ::size_t nSize ) SAL_THROW( () )
{ return ::rtl_allocateMemory( nSize ); }
/** @internal */
inline static void SAL_CALL operator delete ( void * pMem ) SAL_THROW( () )
{ ::rtl_freeMemory( pMem ); }
/** @internal */
- inline static void * SAL_CALL operator new ( size_t, void * pMem ) SAL_THROW( () )
+ inline static void * SAL_CALL operator new ( ::size_t, void * pMem ) SAL_THROW( () )
{ return pMem; }
/** @internal */
inline static void SAL_CALL operator delete ( void *, void * ) SAL_THROW( () )
diff --git a/cppu/inc/com/sun/star/uno/Sequence.h b/cppu/inc/com/sun/star/uno/Sequence.h
index da9906533583..effcde6a25f0 100644
--- a/cppu/inc/com/sun/star/uno/Sequence.h
+++ b/cppu/inc/com/sun/star/uno/Sequence.h
@@ -69,7 +69,7 @@ class Sequence
public:
// these are here to force memory de/allocation to sal lib.
/** @internal */
- inline static void * SAL_CALL operator new ( size_t nSize )
+ inline static void * SAL_CALL operator new ( ::size_t nSize )
SAL_THROW( () )
{ return ::rtl_allocateMemory( nSize ); }
/** @internal */
@@ -77,7 +77,7 @@ public:
SAL_THROW( () )
{ ::rtl_freeMemory( pMem ); }
/** @internal */
- inline static void * SAL_CALL operator new ( size_t, void * pMem )
+ inline static void * SAL_CALL operator new ( ::size_t, void * pMem )
SAL_THROW( () )
{ return pMem; }
/** @internal */