diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-04 09:26:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-04 09:26:29 +0100 |
commit | 8a7dbf9cbbf7bf650491ade4a8cb76b5aed91bda (patch) | |
tree | d5a6ad12800eb5745063757f9a4a4053269c2272 /sw | |
parent | db01f854d7953678c8edc4ad834e744cfe88468a (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/shellio.hxx | 8 | ||||
-rw-r--r-- | sw/source/filter/writer/writer.cxx | 15 |
2 files changed, 0 insertions, 23 deletions
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx index c4d46507861e..14eaf0eaccfc 100644 --- a/sw/inc/shellio.hxx +++ b/sw/inc/shellio.hxx @@ -483,14 +483,6 @@ public: SvStream& OutLong( SvStream& rStrm, long nVal ); SvStream& OutULong( SvStream& rStrm, sal_uLong nVal ); - // Output hex number; default is two-digit number. - SvStream& OutHex( SvStream& rStrm, sal_uLong nHex, sal_uInt8 nLen = 2 ); - // Output four-digit hex number. - inline SvStream& OutHex4( SvStream& rStrm, sal_uInt16 nHex ) - { return OutHex( rStrm, nHex, 4 ); } - - inline SvStream& OutHex( sal_uInt16 nHex, sal_uInt8 nLen = 2 ) { return OutHex( Strm(), nHex, nLen ); } - inline SvStream& OutHex4( sal_uInt16 nHex ) { return OutHex( Strm(), nHex, 4 ); } inline SvStream& OutLong( long nVal ) { return OutLong( Strm(), nVal ); } inline SvStream& OutULong( sal_uLong nVal ) { return OutULong( Strm(), nVal ); } diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index d874cefd6de0..b5fdfb836b8b 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -261,21 +261,6 @@ SvStream& Writer::Strm() void Writer::SetStream(SvStream *const pStream) { m_pImpl->m_pStream = pStream; } - -SvStream& Writer::OutHex( SvStream& rStrm, sal_uLong nHex, sal_uInt8 nLen ) -{ // in einen Stream aus - // Pointer an das Bufferende setzen - sal_Char* pStr = aNToABuf + (NTOABUFLEN-1); - for( sal_uInt8 n = 0; n < nLen; ++n ) - { - *(--pStr) = (sal_Char)(nHex & 0xf ) + 48; - if( *pStr > '9' ) - *pStr += 39; - nHex >>= 4; - } - return rStrm << pStr; -} - SvStream& Writer::OutLong( SvStream& rStrm, long nVal ) { // Pointer an das Bufferende setzen |