diff options
author | jp <jp@openoffice.org> | 2000-11-01 18:15:17 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2000-11-01 18:15:17 +0000 |
commit | 6845aa6c215c91faa4c4e12ef30b4a7d4657502a (patch) | |
tree | 01e8f1bc77f3d891ec7e414ae130b8e6fb93aba8 | |
parent | f7e7df7d5d0b8872f004c8f1b7cfc352c2cc6fa6 (diff) |
Bug #79944#: SelectWord - if error, reset the mark
-rw-r--r-- | sw/source/core/crsr/swcrsr.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx index 8812b4e65acd..b61e1dadbc26 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.4 $ + * $Revision: 1.5 $ * - * last change: $Author: os $ $Date: 2000-10-26 09:27:42 $ + * last change: $Author: jp $ $Date: 2000-11-01 19:15:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1249,7 +1249,10 @@ FASTBOOL SwCursor::SelectWord( const Point* pPt ) } if( !bRet ) + { + DeleteMark(); RestoreSavePos(); + } return bRet; } |