diff options
Diffstat (limited to 'sw/source/core/inc/frminf.hxx')
-rw-r--r-- | sw/source/core/inc/frminf.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/core/inc/frminf.hxx b/sw/source/core/inc/frminf.hxx index 360cba17a4cd..844e5bb4be87 100644 --- a/sw/source/core/inc/frminf.hxx +++ b/sw/source/core/inc/frminf.hxx @@ -21,6 +21,7 @@ #define INCLUDED_SW_SOURCE_CORE_INC_FRMINF_HXX #include <swtypes.hxx> +#include "TextFrameIndex.hxx" class SwTextFrame; class SwPaM; @@ -46,13 +47,13 @@ public: SwTwips GetLineStart() const; // return center position of the next character - SwTwips GetCharPos( sal_Int32 nChar, bool bCenter = true ) const; + SwTwips GetCharPos(TextFrameIndex nChar, bool bCenter = true) const; // collect all whitespaces at the beginning and end of a line in Pam void GetSpaces( SwPaM &rPam, bool bWithLineBreak ) const; // Is a bullet point/symbol/etc. at the first text position? - bool IsBullet( sal_Int32 nTextPos ) const; + bool IsBullet(TextFrameIndex nTextPos) const; // determine indentation for first line SwTwips GetFirstIndent() const; @@ -62,7 +63,7 @@ public: { pFrame = pNew; return *this; } // Is it a comparison? Returns position in frame. - sal_Int32 GetBigIndent( sal_Int32& rFndPos, + sal_Int32 GetBigIndent( TextFrameIndex & rFndPos, const SwTextFrame *pNextFrame ) const; }; |