summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <jumbo4444@yahoo.fr>2012-02-14 22:39:47 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-17 21:36:57 +0000
commit26bd18dfc2516aab507dfb478cfc31e4bf57442f (patch)
tree49e6525be26ff0f2a9fd362d37adf427e106970e /svl
parent0825e49bcaf8d956ae5721235b5c33e6ac4d6e3c (diff)
EasyHack 42790: get rid of PRODUCT
Preprocessor constant PRODUCT is replaced by !DBG_UTIL
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/svarray.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/inc/svl/svarray.hxx b/svl/inc/svl/svarray.hxx
index d500ca64ee47..2a2c6a84e40e 100644
--- a/svl/inc/svl/svarray.hxx
+++ b/svl/inc/svl/svarray.hxx
@@ -112,7 +112,7 @@ inline void* operator new( size_t, DummyType* pPtr )
}
inline void operator delete( void*, DummyType* ) {}
-#if defined(PRODUCT)
+#ifndef DBG_UTIL
#define _SVVARARR_DEF_GET_OP_INLINE( nm, ArrElem ) \
ArrElem& operator[](sal_uInt16 nP) const { return *(pData+nP); }\
@@ -128,7 +128,7 @@ void Insert( const nm * pI, sal_uInt16 nP,\
#define _SVVARARR_IMPL_GET_OP_INLINE( nm, ArrElem )
-#else
+#else // DBG_UTIL
#define _SVVARARR_DEF_GET_OP_INLINE( nm,ArrElem )\
ArrElem& operator[](sal_uInt16 nP) const;\
@@ -150,7 +150,7 @@ void nm::Insert( const nm *pI, sal_uInt16 nP, sal_uInt16 nStt, sal_uInt16 nE)\
Insert( (const ArrElem*)pI->pData+nStt, (sal_uInt16)nE-nStt, nP );\
}
-#endif
+#endif // DBG_UTIL
#define _SV_DECL_VARARR_GEN(nm, AE, IS, AERef, vis )\
typedef sal_Bool (*FnForEach_##nm)( const AERef, void* );\