From 0032207c95589d5dc5fb248e233731b2ac0272f4 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 13 Nov 2007 14:20:46 +0000 Subject: 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). --- basic/source/app/textedit.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basic') 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 ); -- cgit