diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-02-26 09:39:41 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-02-26 09:39:41 +0000 |
commit | 440207ad1ad3707362c0b0873189d77a04f084f9 (patch) | |
tree | 8d6683eb5018fe25736dca00d83bc08086fa1774 /sw/source/core/edit/ednumber.cxx | |
parent | a14259f18cd22c12909466afc450d8604b3a0854 (diff) |
INTEGRATION: CWS swcrossref01_DEV300 (1.23.20); FILE MERGED
2007/11/22 13:44:46 od 1.23.20.1: #i83479# class <SwEditShell>
- remove accessor methods to outline nodes
Diffstat (limited to 'sw/source/core/edit/ednumber.cxx')
-rw-r--r-- | sw/source/core/edit/ednumber.cxx | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/sw/source/core/edit/ednumber.cxx b/sw/source/core/edit/ednumber.cxx index 34aa0a127eb7..8c41f91dc2bc 100644 --- a/sw/source/core/edit/ednumber.cxx +++ b/sw/source/core/edit/ednumber.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ednumber.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: hr $ $Date: 2007-09-27 08:46:14 $ + * last change: $Author: obo $ $Date: 2008-02-26 10:39:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -495,30 +495,6 @@ BOOL SwEditShell::MoveNumParas( BOOL bUpperLower, BOOL bUpperLeft ) return bRet; } -// Abfrage von Oultine Informationen: - - -USHORT SwEditShell::GetOutlineCnt() const -{ - return GetDoc()->GetNodes().GetOutLineNds().Count(); -} - - -BYTE SwEditShell::GetOutlineLevel( USHORT nIdx ) const -{ - const SwNodes& rNds = GetDoc()->GetNodes(); - - return static_cast<BYTE>(rNds.GetOutLineNds()[ nIdx ]->GetTxtNode()->GetOutlineLevel()); -} - - -String SwEditShell::GetOutlineText( USHORT nIdx, BOOL bWithNum ) const -{ - const SwNodes& rNds = GetDoc()->GetNodes(); - return rNds.GetOutLineNds()[ nIdx ]->GetTxtNode()->GetExpandTxt( 0, STRING_LEN, bWithNum ); -} - - BOOL SwEditShell::OutlineUpDown( short nOffset ) { StartAllAction(); @@ -657,12 +633,6 @@ BOOL SwEditShell::IsNoNum( BOOL bChkStart ) const return bResult; } -SwTxtNode * SwEditShell::GetOutlineNode( USHORT nIdx ) const -{ - const SwNodes& rNds = GetDoc()->GetNodes(); - return rNds.GetOutLineNds()[ nIdx ]->GetTxtNode(); -} - BYTE SwEditShell::GetNumLevel( BOOL* pHasChilds ) const { // gebe die akt. Ebene zurueck, auf der sich der Point vom Cursor befindet |