diff options
author | Oliver Specht <os@openoffice.org> | 2000-12-15 11:22:50 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2000-12-15 11:22:50 +0000 |
commit | 165d3e5d099e031350e0e83ebb939530374f5bbb (patch) | |
tree | ecf00077528cea3a9db3646ef9fab1eb6e1237cf /sw/inc | |
parent | 7eb123bd954778688a8d6455c3b3a952f1e102f4 (diff) |
IsStart/EndOfPara inline
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/unocrsrhelper.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx index d7b18e7376fc..67beb5f166bc 100644 --- a/sw/inc/unocrsrhelper.hxx +++ b/sw/inc/unocrsrhelper.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unocrsrhelper.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: os $ $Date: 2000-12-15 12:11:48 $ + * last change: $Author: os $ $Date: 2000-12-15 12:22:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -92,9 +92,9 @@ namespace SwUnoCursorHelper String GetCurPageStyle(SwPaM& rPaM); - sal_Bool IsStartOfPara(SwPaM& rUnoCrsr) + inline sal_Bool IsStartOfPara(SwPaM& rUnoCrsr) { return rUnoCrsr.GetPoint()->nContent == 0;} - sal_Bool IsEndOfPara(SwPaM& rUnoCrsr) + inline sal_Bool IsEndOfPara(SwPaM& rUnoCrsr) { return rUnoCrsr.GetCntntNode() && rUnoCrsr.GetPoint()->nContent == rUnoCrsr.GetCntntNode()->Len();} |