summaryrefslogtreecommitdiff
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
commit34128854ed603a209dee402c0298a7fc1ac7725a (patch)
tree390d5295714877eb0498b6d3e804f782dd26ba05
parent4cfd827f1a0e45dfb1bfc1b7831c7386a61ab176 (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
-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 2ee4d0726..c3ccb7f74 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