diff options
author | Eike Rathke <er@openoffice.org> | 2001-02-09 19:29:15 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2001-02-09 19:29:15 +0000 |
commit | 5a9de910c02b3d17174e0e206eea93386590d02a (patch) | |
tree | b32bacc9ab41e0db763c8c3ee895e7cc0baa47a6 /offapi | |
parent | 184ca2634a789ff633bab5235871f213274061c6 (diff) |
Changed constants due to signed/unsigned issues.
Because the unoidl compiler generates decimal values
the bit mask 0x80000000 used as a long (sal_Int32) results in a negative value
upon which a C++ compiler issues a warning
complaining about the result still being unsigned.
Since these warnings occure massive and are extremely annoying I changed
KParseTokens::IGNORE_LEADING_WS from 0x80000000 to 0x40000000
KParseTokens::UNI_OTHER from 0x40000000 to 0x20000000
KParseType::MISSING_QUOTE from 0x80000000 to 0x40000000
Bear in mind that the i18n interfaces are still under construction
and should not be used yet in the outer world.
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/i18n/XCharacterClassification.idl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/offapi/com/sun/star/i18n/XCharacterClassification.idl b/offapi/com/sun/star/i18n/XCharacterClassification.idl index 1faba271a002..fbf901e10c0b 100644 --- a/offapi/com/sun/star/i18n/XCharacterClassification.idl +++ b/offapi/com/sun/star/i18n/XCharacterClassification.idl @@ -2,9 +2,9 @@ * * $RCSfile: XCharacterClassification.idl,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: er $ $Date: 2001-01-29 11:32:35 $ + * last change: $Author: er $ $Date: 2001-02-09 20:29:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -302,14 +302,14 @@ constants KParseTokens /** Additional flags set in <member>ParseResult::StartFlags</member> or <member>ParseResult::ContFlags</member>. Set if none of the above UNI_... single values match a character. */ - const long UNI_OTHER = 0x40000000; + const long UNI_OTHER = 0x20000000; /** Only valid for <em>nStartCharFlags</em> parameter to <member>ChararacterClassification::parseAnyToken</member> and <member>ChararacterClassification::parsePredefinedToken</member>, ignored on <em>nContCharFlags</em> parameter. <strong>Not</strong> set in <type>ParseResult</type>. */ - const long IGNORE_LEADING_WS = 0x80000000; + const long IGNORE_LEADING_WS = 0x40000000; /// Useful combinations const long ASC_ALPHA = ASC_UPALPHA | ASC_LOALPHA; @@ -358,7 +358,7 @@ constants KParseType const long UNI_NUMBER = 0x00000040; /// Set (ored) if SINGLE_QUOTE_NAME or DOUBLE_QUOTE_STRING has no closing quote. - const long MISSING_QUOTE = 0x80000000; + const long MISSING_QUOTE = 0x40000000; /// Useful combinations const long ANY_NUMBER = ASC_NUMBER | UNI_NUMBER; |