summaryrefslogtreecommitdiff
path: root/scripting/source/stringresource/stringresource.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-01-28 12:58:33 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-01-28 12:58:33 +0000
commit888598a33ef76411731bc304f1b57fec54a5373f (patch)
tree0e0faec8b844f799fbc035c11fbb7e15b3cddd5a /scripting/source/stringresource/stringresource.hxx
parentb3bbdd5d59e72f350830aea7f31d6fb5d6e36172 (diff)
INTEGRATION: CWS ab42 (1.3.38); FILE MERGED
2008/01/07 13:17:23 ab 1.3.38.1: #i82278# Fixed closest match algorithm
Diffstat (limited to 'scripting/source/stringresource/stringresource.hxx')
-rw-r--r--scripting/source/stringresource/stringresource.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripting/source/stringresource/stringresource.hxx b/scripting/source/stringresource/stringresource.hxx
index f8cec347a9c3..490d793e0752 100644
--- a/scripting/source/stringresource/stringresource.hxx
+++ b/scripting/source/stringresource/stringresource.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: stringresource.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2007-01-29 16:26:34 $
+ * last change: $Author: vg $ $Date: 2008-01-28 13:58:33 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -192,6 +192,10 @@ protected:
LocaleItem* getItemForLocale( const ::com::sun::star::lang::Locale& locale, sal_Bool bException )
throw (::com::sun::star::lang::IllegalArgumentException);
+ // Returns the LocalItem for a given locale, if it exists, otherwise NULL
+ // This method performes a closest match search, at least the language must match
+ LocaleItem* getClosestMatchItemForLocale( const ::com::sun::star::lang::Locale& locale );
+
void implModified( void );
void implNotifyListeners( void );