diff options
author | Michael Brauer <mib@openoffice.org> | 2000-10-23 11:58:32 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2000-10-23 11:58:32 +0000 |
commit | 8df595c01ba7f4b2727c14c1c2a1a5452f67e994 (patch) | |
tree | 4ff9405ecd9859b8e31c3eef8759432cbeb1b063 /xmloff | |
parent | 7835beb72be45e64e50edf173cb0c4f977cbc11c (diff) |
#79473#: import now works correctly
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/kernihdl.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/xmloff/source/style/kernihdl.cxx b/xmloff/source/style/kernihdl.cxx index 0df5af987f59..2f151f68c4dc 100644 --- a/xmloff/source/style/kernihdl.cxx +++ b/xmloff/source/style/kernihdl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: kernihdl.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:07:05 $ + * last change: $Author: mib $ $Date: 2000-10-23 12:58:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -99,12 +99,13 @@ sal_Bool XMLKerningPropHdl::importXML( const OUString& rStrImpValue, Any& rValue sal_Bool bRet = sal_True; sal_Int32 nKerning = 0; - if( !rStrImpValue.compareToAscii( sXML_kerning_normal ) ) + if( !rStrImpValue.equalsAsciiL( sXML_kerning_normal, + sizeof(sXML_kerning_normal) ) ) { bRet = rUnitConverter.convertMeasure( nKerning, rStrImpValue ); } - rValue <<= nKerning; + rValue <<= (sal_Int16)nKerning; return bRet; } |