summaryrefslogtreecommitdiff
path: root/xmloff/source/style/chrlohdl.cxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-08-01 14:46:09 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-08-01 14:46:09 +0000
commit8cb01097956c93aa3ab6c2db5c41af0cfa7b4233 (patch)
tree1a11aeb40eb3de3ec5e10abf4f538095626288ef /xmloff/source/style/chrlohdl.cxx
parent11e81ed1d04729dc2bb4d7c7edf635627be76436 (diff)
#90019# locale import works for non-"none" locales again
Diffstat (limited to 'xmloff/source/style/chrlohdl.cxx')
-rw-r--r--xmloff/source/style/chrlohdl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/chrlohdl.cxx b/xmloff/source/style/chrlohdl.cxx
index 1df8b8003e5f..9ae657c0f27c 100644
--- a/xmloff/source/style/chrlohdl.cxx
+++ b/xmloff/source/style/chrlohdl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: chrlohdl.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dvo $ $Date: 2001-06-29 21:07:17 $
+ * last change: $Author: dvo $ $Date: 2001-08-01 15:46:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -124,7 +124,7 @@ sal_Bool XMLCharLanguageHdl::importXML( const OUString& rStrImpValue, uno::Any&
rValue >>= aLocale;
- if( IsXMLToken(rStrImpValue, XML_NONE) )
+ if( !IsXMLToken(rStrImpValue, XML_NONE) )
aLocale.Language = rStrImpValue;
rValue <<= aLocale;
@@ -172,7 +172,7 @@ sal_Bool XMLCharCountryHdl::importXML( const OUString& rStrImpValue, uno::Any& r
rValue >>= aLocale;
- if( IsXMLToken( rStrImpValue, XML_NONE ) )
+ if( !IsXMLToken( rStrImpValue, XML_NONE ) )
aLocale.Country = rStrImpValue;
rValue <<= aLocale;