summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-12-09 14:33:00 +0000
committerjp <jp@openoffice.org>2000-12-09 14:33:00 +0000
commit198c83017257661cfd2b106d00dcd0d853ec1833 (patch)
treedaa0e5bae507560e24b458d8c3499324b8f2fd28 /svx
parentbae171d77d7a652db9fa6f52d0004fc6025a5a31 (diff)
Bug #80979#: correct backward search
Diffstat (limited to 'svx')
-rw-r--r--svx/source/editeng/impedit4.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/editeng/impedit4.cxx b/svx/source/editeng/impedit4.cxx
index a64a7eab6c73..dc07cdfc665b 100644
--- a/svx/source/editeng/impedit4.cxx
+++ b/svx/source/editeng/impedit4.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: impedit4.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: mt $ $Date: 2000-12-06 16:10:11 $
+ * last change: $Author: jp $ $Date: 2000-12-09 15:33:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2044,9 +2044,9 @@ sal_Bool ImpEditEngine::ImpSearch( const SvxSearchItem& rSearchItem,
if ( bFound )
{
rFoundSel.Min().SetNode( pNode );
- rFoundSel.Min().SetIndex( !bBack ? nStartPos : (nEndPos+1) );
+ rFoundSel.Min().SetIndex( nStartPos );
rFoundSel.Max().SetNode( pNode );
- rFoundSel.Max().SetIndex( !bBack ? nEndPos : (nStartPos+1) );
+ rFoundSel.Max().SetIndex( nEndPos );
return sal_True;
}
}