summaryrefslogtreecommitdiff
path: root/basic/source/app/textedit.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-11-13 14:20:46 +0000
committerRüdiger Timm <rt@openoffice.org>2007-11-13 14:20:46 +0000
commit0032207c95589d5dc5fb248e233731b2ac0272f4 (patch)
treeaa80096516297d9119463f2d18968687f44f1611 /basic/source/app/textedit.cxx
parentc89120c13bc8800fef462f822d350010bdf453ed (diff)
INTEGRATION: CWS sb82 (1.21.38); FILE MERGED
2007/11/08 10:13:08 sb 1.21.38.1: #i83412# Avoid warnings about switch cases that are not valid enum values (wntmsci11).
Diffstat (limited to 'basic/source/app/textedit.cxx')
-rw-r--r--basic/source/app/textedit.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/app/textedit.cxx b/basic/source/app/textedit.cxx
index b4aee314b53f..abf24ccb5171 100644
--- a/basic/source/app/textedit.cxx
+++ b/basic/source/app/textedit.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: textedit.cxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 14:16:40 $
+ * last change: $Author: rt $ $Date: 2007-11-13 15:20:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -314,7 +314,7 @@ void TextEditImp::ImpDoHighlight( const String& rSource, ULONG nLineOff )
SbTextType eCol = r.eType;
Color aColor;
ULONG nLine = nLineOff+r.nLine-1; // -1, weil Basic bei 1 beginnt
- switch ( eCol )
+ switch ( +eCol )
{
case SB_KEYWORD:
aColor = Color( COL_BLUE );