summaryrefslogtreecommitdiff
path: root/automation/source/server/editwin.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-11 07:54:05 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-11 07:54:05 +0000
commit648a785744260215bf1871666096698bf5dfd588 (patch)
tree9d0c3820b0e6e6e829002b8e677e9550a2a86425 /automation/source/server/editwin.cxx
parent9fd5c84b87e7707afa9ec3c3e130de982c723504 (diff)
INTEGRATION: CWS gh13 (1.5.24); FILE MERGED
2006/11/17 12:05:39 gh 1.5.24.1: remove warning for debug code
Diffstat (limited to 'automation/source/server/editwin.cxx')
-rw-r--r--automation/source/server/editwin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/automation/source/server/editwin.cxx b/automation/source/server/editwin.cxx
index a7e52898bab2..e7096a901330 100644
--- a/automation/source/server/editwin.cxx
+++ b/automation/source/server/editwin.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: editwin.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 00:35:06 $
+ * last change: $Author: kz $ $Date: 2007-05-11 08:54:05 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -165,7 +165,7 @@ void EditWindow::AddText( const String &rNew )
pImpWorkWindow->m_aInhalt.SetSelection( Selection( SELECTION_MAX, SELECTION_MAX ) );
pImpWorkWindow->m_aInhalt.ReplaceSelected( aText );
- nTextLen += aText.Len();
+ nTextLen = nTextLen + aText.Len();
pImpWorkWindow->m_aInhalt.SetSelection( Selection( SELECTION_MAX, SELECTION_MAX ) );
}
else