summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-09-19 08:16:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-09-19 08:16:18 +0200
commitca78613fa015c03ea2c554247924c165a7aa34e7 (patch)
treede81d070e2b1e4c5f2595fa80110e6699b9d7660 /cppu
parentdc331015a5620815ef9349e69816a7fd300158eb (diff)
Unlike idlc, unoidl doesn't support out-of-range byte consts
Change-Id: Ib1c98ea10a2d05e74a3aae9b2868a69c66efa543
Diffstat (limited to 'cppu')
-rw-r--r--cppu/qa/cppumaker/test_cppumaker.cxx3
-rw-r--r--cppu/qa/cppumaker/types.idl1
2 files changed, 0 insertions, 4 deletions
diff --git a/cppu/qa/cppumaker/test_cppumaker.cxx b/cppu/qa/cppumaker/test_cppumaker.cxx
index f29c5eaab96f..8dfe84aa89d7 100644
--- a/cppu/qa/cppumaker/test_cppumaker.cxx
+++ b/cppu/qa/cppumaker/test_cppumaker.cxx
@@ -533,9 +533,6 @@ void Test::testConstants() {
CPPUNIT_ASSERT_EQUAL(
SAL_MAX_INT8, test::codemaker::cppumaker::Constants::byteMax);
CPPUNIT_ASSERT_EQUAL(
- static_cast< sal_Int8 >(-1),
- test::codemaker::cppumaker::Constants::byteNeg);
- CPPUNIT_ASSERT_EQUAL(
SAL_MIN_INT16, test::codemaker::cppumaker::Constants::shortMin);
CPPUNIT_ASSERT_EQUAL(
SAL_MAX_INT16, test::codemaker::cppumaker::Constants::shortMax);
diff --git a/cppu/qa/cppumaker/types.idl b/cppu/qa/cppumaker/types.idl
index 2c0a0559af7a..f22d52fc58f0 100644
--- a/cppu/qa/cppumaker/types.idl
+++ b/cppu/qa/cppumaker/types.idl
@@ -690,7 +690,6 @@ exception TestException2: TestException1 {};
constants Constants {
const byte byteMin = -128;
const byte byteMax = 127;
- const byte byteNeg = 255;
const short shortMin = -32768;
const short shortMax = 32767;
const unsigned short unsignedShortMin = 0;