sw/inc/node.hxx | 10 +++++----- sw/source/core/docnode/node.cxx | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-)
New commits: commit a4ec5de5ed537604ef0229990dc449821ad13a4f Author: Michael Stahl <mst...@redhat.com> Date: Thu Nov 1 18:46:02 2012 +0100 SwNode: reorder that to avoid -Werror=reorder Change-Id: Ic58a5503dc6b7991c8804feef05b814d1055bfb9 diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index 003d7b6..35ba3f2 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -91,11 +91,6 @@ class SW_DLLPUBLIC SwNode { friend class SwNodes; -#ifdef DBG_UTIL - static long s_nSerial; - long m_nSerial; -#endif - sal_uInt8 nNodeType; /// For text nodes: level of auto format. Was put here because we had still free bits. @@ -103,6 +98,11 @@ class SW_DLLPUBLIC SwNode bool bSetNumLSpace : 1; ///< For numbering: TRUE: set indent. bool bIgnoreDontExpand : 1; ///< for Text Attributes - ignore the flag +#ifdef DBG_UTIL + static long s_nSerial; + long m_nSerial; +#endif + protected: SwStartNode* pStartOfSection; diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index 98afd80..eea21de 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -309,10 +309,10 @@ SwNode::SwNode( const SwNodeIndex &rWhere, const sal_uInt8 nNdType ) , nAFmtNumLvl( 0 ) , bSetNumLSpace( false ) , bIgnoreDontExpand( false) - , pStartOfSection( 0 ) #ifdef DBG_UTIL , m_nSerial( s_nSerial++) #endif + , pStartOfSection( 0 ) { SwNodes& rNodes = const_cast<SwNodes&> (rWhere.GetNodes()); if( rWhere.GetIndex() ) @@ -341,10 +341,10 @@ SwNode::SwNode( SwNodes& rNodes, sal_uLong nPos, const sal_uInt8 nNdType ) , nAFmtNumLvl( 0 ) , bSetNumLSpace( false ) , bIgnoreDontExpand( false) - , pStartOfSection( 0 ) #ifdef DBG_UTIL - ,m_nSerial( s_nSerial++) + , m_nSerial( s_nSerial++) #endif + , pStartOfSection( 0 ) { if( nPos ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits