summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-04 09:26:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-04 09:26:29 +0100
commitc65f768206269dda73ccb520868d26b5638b2800 (patch)
tree9990a2d50dd082971ca4be269536c93b9490f39c
parent402b448a4f0fb98479ddc73cb0488751f0dad75e (diff)
callcatcher: remove unused methods
-rw-r--r--sw/inc/shellio.hxx8
-rw-r--r--sw/source/filter/writer/writer.cxx15
2 files changed, 0 insertions, 23 deletions
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 21aeb984dd..4955b759fc 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 8e555056f7..8557f0af1d 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