diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-01-13 16:00:19 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-01-13 16:00:19 +0000 |
commit | 7b9fccd8e0418095a3bdb641e70c7998b778a068 (patch) | |
tree | 79950ae76e7a4879ceb6cfc30f0dc007424c1a3d /sw/source/filter/writer/wrt_fn.cxx | |
parent | 2c7be2c13a32439be6af50a60d16910ddc2afe74 (diff) |
INTEGRATION: CWS mullingarfilterteam18 (1.3.278); FILE MERGED
2003/11/20 14:50:07 cmc 1.3.278.1: #i9055# writer dir warning free
Diffstat (limited to 'sw/source/filter/writer/wrt_fn.cxx')
-rw-r--r-- | sw/source/filter/writer/wrt_fn.cxx | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/sw/source/filter/writer/wrt_fn.cxx b/sw/source/filter/writer/wrt_fn.cxx index 55b605d49ecf..e11913a48a7a 100644 --- a/sw/source/filter/writer/wrt_fn.cxx +++ b/sw/source/filter/writer/wrt_fn.cxx @@ -2,9 +2,9 @@ * * $RCSfile: wrt_fn.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: vg $ $Date: 2003-04-17 15:03:43 $ + * last change: $Author: obo $ $Date: 2004-01-13 17:00:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,9 +59,6 @@ * ************************************************************************/ - -#pragma hdrstop - #ifndef _SFXITEMITER_HXX //autogen #include <svtools/itemiter.hxx> #endif @@ -145,14 +142,21 @@ Writer& Out( const SwNodeFnTab pTab, SwNode& rNode, Writer & rWrt ) if( !pCNd ) return rWrt; - USHORT nId; - switch( pCNd->GetNodeType() ) + USHORT nId = RES_TXTNODE; + switch (pCNd->GetNodeType()) { - case ND_TEXTNODE: nId = RES_TXTNODE; break; - case ND_GRFNODE: nId = RES_GRFNODE; break; - case ND_OLENODE: nId = RES_OLENODE; break; - default: - ASSERT( FALSE, "was fuer ein Node ist es denn nun?" ); + case ND_TEXTNODE: + nId = RES_TXTNODE; + break; + case ND_GRFNODE: + nId = RES_GRFNODE; + break; + case ND_OLENODE: + nId = RES_OLENODE; + break; + default: + ASSERT(false, "was fuer ein Node ist es denn nun?"); + break; } FnNodeOut pOut; if( 0 != ( pOut = pTab[ nId - RES_NODE_BEGIN ] )) |