diff options
author | jp <jp@openoffice.org> | 2000-11-02 15:59:40 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2000-11-02 15:59:40 +0000 |
commit | 249caeb3ee2d00d707e965d8024495e5d1603af5 (patch) | |
tree | a6e484d2e863e8bc986c2640cb60cea9107f649a /sw | |
parent | f8b3801389041be22885e63e660273145caf89b4 (diff) |
Bug #79944#: SelectWord - 2nd fix - check point and mark
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/crsr/swcrsr.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx index b61e1dadbc26..5364cb11a328 100644 --- a/sw/source/core/crsr/swcrsr.cxx +++ b/sw/source/core/crsr/swcrsr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: swcrsr.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jp $ $Date: 2000-11-01 19:15:17 $ + * last change: $Author: jp $ $Date: 2000-11-02 16:59:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1240,11 +1240,14 @@ FASTBOOL SwCursor::SelectWord( const Point* pPt ) if( aBndry.startPos != aBndry.endPos ) { - SetMark(); - GetMark()->nContent = aBndry.startPos; GetPoint()->nContent = aBndry.endPos; if( !IsSelOvr() ) - bRet = TRUE; + { + SetMark(); + GetMark()->nContent = aBndry.startPos; + if( !IsSelOvr() ) + bRet = TRUE; + } } } |