diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-27 16:45:03 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-27 16:45:03 +0000 |
commit | 53d50f23228c3acfe75703b51c8832ac48f54270 (patch) | |
tree | 7096895bf857cb7cbf08067f96a60279225caa77 /unotools/source/i18n/localedatawrapper.cxx | |
parent | 832f7b267bcc52af248a5e72e6ebda14d92a19ee (diff) |
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'unotools/source/i18n/localedatawrapper.cxx')
-rw-r--r-- | unotools/source/i18n/localedatawrapper.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx index 5b243830c2e0..8f05c2d08e79 100644 --- a/unotools/source/i18n/localedatawrapper.cxx +++ b/unotools/source/i18n/localedatawrapper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: localedatawrapper.cxx,v $ * - * $Revision: 1.27 $ + * $Revision: 1.28 $ * - * last change: $Author: er $ $Date: 2002-09-18 14:41:53 $ + * last change: $Author: hr $ $Date: 2003-03-27 17:39:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -486,6 +486,12 @@ void LocaleDataWrapper::invalidateData() DBG_ERRORFILE( aMsg.GetBuffer() ); } #endif + switch ( eLang ) + { + case LANGUAGE_NORWEGIAN : // no_NO, not Bokmal (nb_NO), not Nynorsk (nn_NO) + eLang = LANGUAGE_DONTKNOW; // don't offer "Unknown" language + break; + } if ( eLang != LANGUAGE_DONTKNOW ) { String aLanguage, aCountry; |