[ooo-build-commit] .: cppu/inc

Fridrich Strba fridrich at kemper.freedesktop.org
Tue Sep 14 04:13:00 PDT 2010


 cppu/inc/com/sun/star/uno/Reference.h |    4 ++--
 cppu/inc/com/sun/star/uno/Sequence.h  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit a957fc8910fb1739877e1e3d3dd850c20b776633
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Tue Sep 14 13:12:26 2010 +0200

    win32-vs2005-compat.diff: Fix build with Visual Studio 2005

diff --git a/cppu/inc/com/sun/star/uno/Reference.h b/cppu/inc/com/sun/star/uno/Reference.h
index 0e70f9a..2bdc822 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 682f8e9..c0c8074 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 */


More information about the ooo-build-commit mailing list