[Libreoffice-commits] .: tools/inc
Joseph Powers
jpowers at kemper.freedesktop.org
Sun Feb 13 22:26:23 PST 2011
tools/inc/tools/ref.hxx | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
New commits:
commit 4230fc75d3d7c5a99fc1bed237aa30c668e1ca82
Author: Joseph Powers <jpowers27 at cox.net>
Date: Sun Feb 13 22:26:13 2011 -0800
Remove unused macros SV_DECL_IMPL_LOCK & SV_DECL_IMPL_MEMBER_LIST
diff --git a/tools/inc/tools/ref.hxx b/tools/inc/tools/ref.hxx
index cf7dc26..89e890e 100644
--- a/tools/inc/tools/ref.hxx
+++ b/tools/inc/tools/ref.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -115,10 +115,6 @@ PRV_SV_IMPL_REF_COUNTERS( ClassName, Lock, OwnerLock( TRUE ), \
SV_DECL_REF(ClassName) \
SV_IMPL_REF(ClassName)
-#define SV_DECL_IMPL_LOCK( ClassName ) \
- SV_DECL_LOCK(ClassName) \
- SV_IMPL_LOCK(ClassName)
-
/************************** S v R e f L i s t ****************************/
#define PRV_SV_DECL_REF_LIST(CN,EN,vis) \
@@ -317,10 +313,6 @@ public:\
#define SV_IMPL_MEMBER_LIST(ClassName,EntryName)\
PRV_SV_IMPL_MEMBER_LIST(ClassName,EntryName,SvRefBaseMemberList)
-#define SV_DECL_IMPL_MEMBER_LIST(ClassName,EntryName)\
-SV_DECL_MEMBER_LIST(ClassName,EntryName)\
-SV_IMPL_MEMBER_LIST(ClassName,EntryName)
-
/************************** S v R e f B a s e ****************************/
#define SV_NO_DELETE_REFCOUNT 0x80000000
class TOOLS_DLLPUBLIC SvRefBase
@@ -328,9 +320,9 @@ class TOOLS_DLLPUBLIC SvRefBase
UINT32 nRefCount;
#if defined (GCC) && (defined (C281) || defined (C290) || defined (C291))
public:
-#else
+#else
protected:
-#endif
+#endif
virtual ~SvRefBase();
virtual void QueryDelete();
public:
More information about the Libreoffice-commits
mailing list