summaryrefslogtreecommitdiff
path: root/sw/source/ui/uno
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-06-13 10:21:45 +0000
committerRüdiger Timm <rt@openoffice.org>2008-06-13 10:21:45 +0000
commit0f5128e30d658332ad632bfbd2559b618c9fff56 (patch)
treebdf6c78760b33b9eca1baa0494ca2abf2d4fabc9 /sw/source/ui/uno
parent431d00f18af3dbaea31108327fe5a489c70b099f (diff)
INTEGRATION: CWS swlists01 (1.125.128); FILE MERGED
2008/05/08 16:18:05 od 1.125.128.4: RESYNC: (1.128-1.130); FILE MERGED 2008/03/20 14:19:20 od 1.125.128.3: RESYNC: (1.125-1.128); FILE MERGED 2008/03/11 13:01:57 od 1.125.128.2: #i86732# remove unneeded include 2008/03/06 09:03:52 od 1.125.128.1: #i86732# refactoring due to revised <SwTxtNode> interface
Diffstat (limited to 'sw/source/ui/uno')
-rw-r--r--sw/source/ui/uno/unotxdoc.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx
index e5dd6ce454a4..b52971effd22 100644
--- a/sw/source/ui/uno/unotxdoc.cxx
+++ b/sw/source/ui/uno/unotxdoc.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: unotxdoc.cxx,v $
- * $Revision: 1.130 $
+ * $Revision: 1.131 $
*
* This file is part of OpenOffice.org.
*
@@ -131,9 +131,7 @@
#include <unostyle.hxx> //SwAutoStyleFamily
#include <istyleaccess.hxx> // handling of automatic styles
-#ifndef _STYLEPOOL_HXX
#include <svtools/stylepool.hxx>
-#endif
#include <swatrset.hxx>
//#include <com/sun/star/i18n/ScriptType.hpp>
@@ -1092,10 +1090,10 @@ String lcl_CreateOutlineString( USHORT nIndex,
{
String sEntry;
const SwTxtNode * pTxtNd = rOutlineNodes[ nIndex ]->GetTxtNode();
- SwNodeNum::tNumberVector aNumVector = pTxtNd->GetNumberVector();
+ SwNumberTree::tNumberVector aNumVector = pTxtNd->GetNumberVector();
if( pOutlRule && pTxtNd->GetNumRule())
for( sal_Int8 nLevel = 0;
- nLevel <= pTxtNd->GetLevel();
+ nLevel <= pTxtNd->GetActualListLevel();
nLevel++ )
{
long nVal = aNumVector[nLevel];