diff options
author | Malte Timmermann <mt@openoffice.org> | 2001-10-31 08:53:27 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2001-10-31 08:53:27 +0000 |
commit | b36dd32222b1057e94a913fce498530460da41a9 (patch) | |
tree | 113a9f39decdbc06a797e095fe7bd0b4b6ea95ab /vcl/source/control/field.cxx | |
parent | 7b6140004acfab8d95899a836685f5f599ad1ece (diff) |
#90545# Preparation for translated strings...
Diffstat (limited to 'vcl/source/control/field.cxx')
-rw-r--r-- | vcl/source/control/field.cxx | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index a99b37e4a64f..b326ebb71ba3 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -2,9 +2,9 @@ * * $RCSfile: field.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: mt $ $Date: 2001-07-20 14:10:33 $ + * last change: $Author: mt $ $Date: 2001-10-31 09:53:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1096,8 +1096,27 @@ static XubString ImplMetricGetUnitText( const XubString& rStr ) break; } } - return aStr; + +/* + // MT: #90545# Preparation for translated strings... + String aMetricText; + for ( USHORT n = rStr.Len(); n; ) + { + sal_Unicode c = rStr.GetChar( --n ); + sal_Int32 nType = xCharClass->getStringType( rStr, n, 1, rLocale ); + + if ( CharClass::isLetterType( nType ) ) + { + aMetricText.Insert( c, 0 ); + } + else + { + if ( aMetricText.Len() ) + break; + } + } +*/ } // ----------------------------------------------------------------------- |