diff options
author | Michael Brauer <mib@openoffice.org> | 2000-10-12 16:11:59 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2000-10-12 16:11:59 +0000 |
commit | 79adc282f966e7bf6f08caf4ffa46e99e620ec0e (patch) | |
tree | 66c89fa8323e6c8eaa62a984127f1ab3c0604900 /xmloff/source/style/escphdl.cxx | |
parent | 654fbdfe07ce598234c77a610d71cbaac6fc5406 (diff) |
#79456#: import of escapment fixed
Diffstat (limited to 'xmloff/source/style/escphdl.cxx')
-rw-r--r-- | xmloff/source/style/escphdl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/escphdl.cxx b/xmloff/source/style/escphdl.cxx index 08b5f41acb47..e8a272e592e0 100644 --- a/xmloff/source/style/escphdl.cxx +++ b/xmloff/source/style/escphdl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: escphdl.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:07:04 $ + * last change: $Author: mib $ $Date: 2000-10-12 17:11:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -113,11 +113,11 @@ sal_Bool XMLEscapementPropHdl::importXML( const OUString& rStrImpValue, uno::Any if( ! aTokens.getNextToken( aToken ) ) return sal_False; - if( aToken.compareToAscii( sXML_escapement_sub ) ) + if( 0 == aToken.compareToAscii( sXML_escapement_sub ) ) { nVal = DFLT_ESC_AUTO_SUB; } - else if( aToken.compareToAscii( sXML_escapement_super ) ) + else if( 0 == aToken.compareToAscii( sXML_escapement_super ) ) { nVal = DFLT_ESC_AUTO_SUPER; } |