summaryrefslogtreecommitdiff
path: root/i18npool/source/localedata
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-07-21 13:28:15 +0000
committerOliver Bolte <obo@openoffice.org>2005-07-21 13:28:15 +0000
commiteea0db36e76ee1d400dc75ec9b53d65d37bca939 (patch)
tree6afb323713d276ca36dce8131f3f501f83e3a6bc /i18npool/source/localedata
parent672880090dbb57ab409c614ce844f91c4b8e5133 (diff)
INTEGRATION: CWS localedata5 (1.9.4); FILE MERGED
2005/07/11 11:27:18 er 1.9.4.3: more checks, FormatElement and ReservedWords 2005/07/08 14:32:47 er 1.9.4.2: some more data integrity checks 2005/07/01 13:28:44 er 1.9.4.1: #i50311# LCFormatNode::generateCode: check more separator usage
Diffstat (limited to 'i18npool/source/localedata')
-rw-r--r--i18npool/source/localedata/LocaleNode.hxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/i18npool/source/localedata/LocaleNode.hxx b/i18npool/source/localedata/LocaleNode.hxx
index 3528fbbb9786..9dcbb7cc493f 100644
--- a/i18npool/source/localedata/LocaleNode.hxx
+++ b/i18npool/source/localedata/LocaleNode.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: LocaleNode.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: hr $ $Date: 2005-06-09 14:34:59 $
+ * last change: $Author: obo $ $Date: 2005-07-21 14:28:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -173,9 +173,18 @@ public:
// SHOULD NOT > nMaxLen
// nMaxLen < 0 : any length
// nMaxLen >= 0 : warning if more than nMaxLen characters
+ OUString writeParameterCheckLen( const OFileWriter &of, const char* pParameterName, const LocaleNode* pNode, sal_Int32 nMinLen, sal_Int32 nMaxLen ) const;
OUString writeParameterCheckLen( const OFileWriter &of, const char* pNodeName, const char* pParameterName, sal_Int32 nMinLen, sal_Int32 nMaxLen ) const;
// ++nError with output to stderr
void incError( const char* pStr ) const;
+ // ++nError with output to stderr, pStr should contain "%d", otherwise appended
+ void incErrorInt( const char* pStr, int nVal ) const;
+ // ++nError with output to stderr, pStr should contain "%s", otherwise appended
+ void incErrorStr( const char* pStr, const ::rtl::OUString& rVal ) const;
+ // used by incError...(), returns a pointer to a static buffer,
+ // pDefaultConversion is appended if pFormat doesn't contain a %
+ // specification and should be something like ": %d" or ": %s" or similar.
+ char* prepareErrorFormat( const char* pFormat, const char* pDefaultConversion ) const;
static LocaleNode* createNode (const OUString& name,const Reference< XAttributeList > & attr);
};