summaryrefslogtreecommitdiff
path: root/sw/inc/IDocumentOutlineNodes.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-16 09:30:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-16 09:30:20 +0100
commita6ded3b0137f378a9e7a83903193d6e3fd9b0126 (patch)
tree3707745222b1a37adc153c4ad1ca118af0ecc268 /sw/inc/IDocumentOutlineNodes.hxx
parent3a122347b9a47f1ff7103364e90b77bc605fafce (diff)
Clean up integers representing positions in SwOutlineNodes vectors
Change-Id: If1a6a9cb61ffd355a85835127e7c893969833587
Diffstat (limited to 'sw/inc/IDocumentOutlineNodes.hxx')
-rw-r--r--sw/inc/IDocumentOutlineNodes.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sw/inc/IDocumentOutlineNodes.hxx b/sw/inc/IDocumentOutlineNodes.hxx
index f4aa9b2fb259..6b69da672d30 100644
--- a/sw/inc/IDocumentOutlineNodes.hxx
+++ b/sw/inc/IDocumentOutlineNodes.hxx
@@ -23,6 +23,7 @@
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <vector>
+
class SwTextNode;
/** Provides outline nodes of a document.
@@ -32,14 +33,14 @@ class IDocumentOutlineNodes
public:
typedef std::vector< const SwTextNode* > tSortedOutlineNodeList;
- virtual sal_Int32 getOutlineNodesCount() const = 0;
+ virtual tSortedOutlineNodeList::size_type getOutlineNodesCount() const = 0;
- virtual int getOutlineLevel( const sal_Int32 nIdx ) const = 0;
- virtual OUString getOutlineText( const sal_Int32 nIdx,
+ virtual int getOutlineLevel( const tSortedOutlineNodeList::size_type nIdx ) const = 0;
+ virtual OUString getOutlineText( const tSortedOutlineNodeList::size_type nIdx,
const bool bWithNumber = true,
const bool bWithSpacesForLevel = false,
const bool bWithFootnote = true ) const = 0;
- virtual SwTextNode* getOutlineNode( const sal_Int32 nIdx ) const = 0;
+ virtual SwTextNode* getOutlineNode( const tSortedOutlineNodeList::size_type nIdx ) const = 0;
virtual void getOutlineNodes( IDocumentOutlineNodes::tSortedOutlineNodeList& orOutlineNodeList ) const = 0;