diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-11-24 00:52:00 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-11-24 00:52:00 +0100 |
commit | 279a176397623ea83e98fac5a7f4132325b42594 (patch) | |
tree | ca21478406b36b744b80a105b3d6570214d98821 /sw/inc/node.hxx | |
parent | 0215f8b19451ab67c7fdaf91f2da8298a9b89c47 (diff) |
sw: replace abuses of OSL_DEBUG_LEVEL with DBG_UTIL
OSL_DEBUG_LEVEL is set by make debug=t, which should never result in ABI
incompatible objects.
Diffstat (limited to 'sw/inc/node.hxx')
-rw-r--r-- | sw/inc/node.hxx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index 1ad155504eda..f50e65f3feb9 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -88,13 +88,14 @@ class SwOLENodes; // -------------------- // class SwNode // -------------------- -class SW_DLLPUBLIC SwNode : private /* public*/ BigPtrEntry +class SW_DLLPUBLIC SwNode + : private BigPtrEntry { friend class SwNodes; -#if OSL_DEBUG_LEVEL > 1 - static long nSerial; - long nMySerial; +#ifdef DBG_UTIL + static long s_nSerial; + long m_nSerial; #endif sal_uInt8 nNodeType; @@ -115,8 +116,8 @@ protected: public: virtual ~SwNode(); -#if OSL_DEBUG_LEVEL > 1 - long int GetSerial() const { return nMySerial; } +#ifdef DBG_UTIL + long GetSerial() const { return m_nSerial; } #endif sal_uInt16 GetSectionLevel() const; @@ -296,7 +297,7 @@ public: sal_uInt8 HasPrevNextLayNode() const; -#if OSL_DEBUG_LEVEL > 0 +#ifdef DBG_UTIL /** * Dumps the node structure to the given destination (file nodes.xml in the current directory by default) * @since 3.5 @@ -337,7 +338,7 @@ public: // Call ChkCondcoll to all ContentNodes of section. void CheckSectionCondColl() const; -#if OSL_DEBUG_LEVEL > 0 +#ifdef DBG_UTIL virtual void dumpAsXml( xmlTextWriterPtr writer = NULL ); #endif |