diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-08-01 18:34:24 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-08-01 18:34:46 +0200 |
commit | 791071825969a40a454ed2b9806ec8b5c3b08fe9 (patch) | |
tree | 9fee331088d043e2995f0c5b5e7f1c69701dce49 /idl | |
parent | 23e5bb66436991d809d8d807f27d25f922fb062f (diff) |
Remove unused code: those classes are unused
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
Diffstat (limited to 'idl')
-rw-r--r-- | idl/inc/bastype.hxx | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/idl/inc/bastype.hxx b/idl/inc/bastype.hxx index 15a83d16f772..787c3ca758a0 100644 --- a/idl/inc/bastype.hxx +++ b/idl/inc/bastype.hxx @@ -50,57 +50,6 @@ public: }; -class SvINT16 -{ - short nVal; -public: - SvINT16() { nVal = 0; } - SvINT16( short n ) : nVal( n ) {} - SvINT16 & operator = ( short n ) { nVal = n; return *this; } - - operator short &() { return nVal; } - - friend SvStream& operator << (SvStream & rStm, const SvINT16 & r ) - { SvUINT32::Write( rStm, (sal_uInt32)r.nVal ); return rStm; } - friend SvStream& operator >> (SvStream & rStm, SvINT16 & r ) - { r.nVal = (short)SvUINT32::Read( rStm ); return rStm; } -}; - - -class SvUINT16 -{ - sal_uInt16 nVal; -public: - SvUINT16() { nVal = 0; } - SvUINT16( sal_uInt16 n ) : nVal( n ) {} - SvUINT16 & operator = ( sal_uInt16 n ) { nVal = n; return *this; } - - operator sal_uInt16 &() { return nVal; } - - friend SvStream& operator << (SvStream & rStm, const SvUINT16 & r ) - { SvUINT32::Write( rStm, (sal_uInt32)r.nVal ); return rStm; } - friend SvStream& operator >> (SvStream & rStm, SvUINT16 & r ) - { r.nVal = (sal_uInt16)SvUINT32::Read( rStm ); return rStm; } -}; - - -class SvINT32 -{ - sal_Int32 nVal; -public: - SvINT32() { nVal = 0; } - SvINT32( sal_Int32 n ) : nVal( n ) {} - SvINT32 & operator = ( sal_Int32 n ) { nVal = n; return *this; } - - operator sal_Int32 &() { return nVal; } - - friend SvStream& operator << (SvStream & rStm, const SvINT32 & r ) - { SvUINT32::Write( rStm, (sal_uInt32)r.nVal ); return rStm; } - friend SvStream& operator >> (SvStream & rStm, SvINT32 & r ) - { r.nVal = (sal_Int32)SvUINT32::Read( rStm ); return rStm; } -}; - - class Svint { int nVal; |