summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-11 07:20:01 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-11 07:20:01 +0000
commit2f2568095c46bc7bcc01d4b295744509fdc6138a (patch)
tree54a4734bc83d5171cf5b3c31b949b409a2e811b2 /vcl
parentINTEGRATION: CWS vcl66 (1.65.2); FILE MERGED (diff)
downloadcore-2f2568095c46bc7bcc01d4b295744509fdc6138a.tar.gz
core-2f2568095c46bc7bcc01d4b295744509fdc6138a.zip
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
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/field.cxx7
1 files changed, 5 insertions, 2 deletions
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