From 2f2568095c46bc7bcc01d4b295744509fdc6138a Mon Sep 17 00:00:00 2001
From: Oliver Bolte <obo@openoffice.org>
Date: Wed, 11 Oct 2006 07:20:01 +0000
Subject: INTEGRATION: CWS vcl66 (1.15.124); FILE MERGED 2006/09/20 14:30:25 pl
 1.15.124.2: RESYNC: (1.15-1.16); FILE MERGED 2006/09/18 16:37:53 pl
 1.15.124.1: #i69080# allow for hewbrew unit text, general solution still
 needed

---
 vcl/source/control/field.cxx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'vcl')

diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 06809aa4adc0..f956df5e9650 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: field.cxx,v $
  *
- *  $Revision: 1.16 $
+ *  $Revision: 1.17 $
  *
- *  last change: $Author: obo $ $Date: 2006-09-17 11:52:25 $
+ *  last change: $Author: obo $ $Date: 2006-10-11 08:20:01 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1033,6 +1033,9 @@ static XubString ImplMetricGetUnitText( const XubString& rStr )
         xub_Unicode c = rStr.GetChar( i );
         if ( ((c >= 'A') && (c <= 'Z')) ||
              ((c >= 'a') && (c <= 'z')) ||
+             // #i69080# check for hebrew characters
+             // FIXME: need a general solution for all languages/scripts
+             ((c >= 0x590) && (c <= 0x5FF)) ||
              (c == '\'') || (c == '\"') || (c == '%' ) )
             aStr.Insert( c, 0 );
         else
-- 
cgit