diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-01-18 12:30:43 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-01-18 12:30:43 +0000 |
commit | 2b0d3e4702024ce2c6fd0626d68533964b38a4a3 (patch) | |
tree | ccf71531884547a49eb2ae9c9024a893c4e5f5cc /codemaker/test | |
parent | 187f0f2da3c6d089b1bc2eef8e9ff12372842419 (diff) |
INTEGRATION: CWS sb28 (1.4.8); FILE MERGED
2005/01/04 10:01:59 sb 1.4.8.1: #i38790# Suppress C++ compiler warnings about (un)signedness of -2^31 and -2^63 integer literals in generated .hdl files.
Diffstat (limited to 'codemaker/test')
-rw-r--r-- | codemaker/test/cppumaker/types.idl | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/codemaker/test/cppumaker/types.idl b/codemaker/test/cppumaker/types.idl index 100bb19f3ee9..b9259a00025d 100644 --- a/codemaker/test/cppumaker/types.idl +++ b/codemaker/test/cppumaker/types.idl @@ -2,9 +2,9 @@ * * $RCSfile: types.idl,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: pjunck $ $Date: 2004-10-22 10:29:04 $ + * last change: $Author: kz $ $Date: 2005-01-18 13:30:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -622,4 +622,19 @@ exception TestException1: com::sun::star::uno::RuntimeException { exception TestException2: TestException1 {}; +constants Constants { + const short shortMin = -32768; + const short shortMax = 32767; + const unsigned short unsignedShortMin = 0; + const unsigned short unsignedShortMax = 65535; + const long longMin = -2147483648; + const long longMax = 2147483647; + const unsigned long unsignedLongMin = 0; + const unsigned long unsignedLongMax = 4294967295; + const hyper hyperMin = -9223372036854775808; + const hyper hyperMax = 9223372036854775807; + const unsigned hyper unsignedHyperMin = 0; + const unsigned hyper unsignedHyperMax = 18446744073709551615; +}; + }; }; }; |