diff options
Diffstat (limited to 'sw/source/core/docnode/ndindex.cxx')
-rw-r--r-- | sw/source/core/docnode/ndindex.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sw/source/core/docnode/ndindex.cxx b/sw/source/core/docnode/ndindex.cxx index a6b718df2d09..3b064674d7bd 100644 --- a/sw/source/core/docnode/ndindex.cxx +++ b/sw/source/core/docnode/ndindex.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -28,13 +29,9 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" - - -#include "errhdl.hxx" // fuers ASSERT -#include "error.h" // fuers ASSERT #include "ndindex.hxx" -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 1 int SwNodeIndex::nSerial = 0; #endif @@ -68,7 +65,7 @@ SwNodeIndex::SwNodeIndex( SwNodes& rNds, sal_uLong nIdx ) { rNds.RegisterIndex( *this ); -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 1 MySerial = ++nSerial; // nur in der nicht PRODUCT-Version #endif } @@ -83,7 +80,7 @@ SwNodeIndex::SwNodeIndex( const SwNodeIndex& rIdx, long nDiff ) pNd = rIdx.pNd; pNd->GetNodes().RegisterIndex( *this ); -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 1 MySerial = ++nSerial; // nur in der nicht PRODUCT-Version #endif } @@ -98,7 +95,7 @@ SwNodeIndex::SwNodeIndex( const SwNode& rNd, long nDiff ) pNd = (SwNode*)&rNd; pNd->GetNodes().RegisterIndex( *this ); -#ifdef DBG_UTIL +#if OSL_DEBUG_LEVEL > 1 MySerial = ++nSerial; // nur in der nicht PRODUCT-Version #endif } @@ -166,3 +163,4 @@ SwNodeIndex& SwNodeIndex::Assign( const SwNode& rNd, long nOffset ) } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |