diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-04-24 09:28:32 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-04-24 09:28:32 +0000 |
commit | e4b4d4428bff35f8a54ec25f95757372eba9189f (patch) | |
tree | e7934da21fc5fc36085cf76d773380a9f36096c9 /svtools | |
parent | 6f4cc03f1f621a2029a9e992cf23ca682fbf1450 (diff) |
INTEGRATION: CWS beta2vcl (1.25.28); FILE MERGED
2003/04/17 11:23:23 mt 1.25.28.1: #108611# check for overflow
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/edit/texteng.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svtools/source/edit/texteng.cxx b/svtools/source/edit/texteng.cxx index dbcf53e95567..87307b5036d8 100644 --- a/svtools/source/edit/texteng.cxx +++ b/svtools/source/edit/texteng.cxx @@ -2,9 +2,9 @@ * * $RCSfile: texteng.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.26 $ * - * last change: $Author: hr $ $Date: 2003-03-27 14:38:06 $ + * last change: $Author: rt $ $Date: 2003-04-24 10:28:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -832,6 +832,9 @@ TextPaM TextEngine::ImpInsertText( const TextSelection& rCurSel, const XubString aPaM = ImpInsertParaBreak( aPaM ); nStart = nEnd+1; + + if ( nStart < nEnd ) // #108611# overflow + break; } TextModified(); |