summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-10 20:55:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-11 14:13:30 +0000
commit988829d53327e92b66487ea38bed98b1e6b72d47 (patch)
tree911d546d534f2f4a45672873e754ea6c16075c34 /tools
parentadd a virtual dtor (diff)
downloadcore-988829d53327e92b66487ea38bed98b1e6b72d47.tar.gz
core-988829d53327e92b66487ea38bed98b1e6b72d47.zip
valgrind: update unused code post virtual dtor cmis fix
Diffstat (limited to 'tools')
-rw-r--r--tools/source/debug/debug.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx
index 5976b1c9a03a..b3dae60ead65 100644
--- a/tools/source/debug/debug.cxx
+++ b/tools/source/debug/debug.cxx
@@ -376,16 +376,6 @@ namespace
};
lcl_writeConfigString( _pFile, _pKeyName, names[ _nValue ] );
}
- void lcl_writeHexByte( FILETYPE _pFile, const sal_Char* _pKeyName, sal_uInt8 _nValue )
- {
- sal_Char buf[RTL_STR_MAX_VALUEOFINT32];
- rtl_String* stringData = NULL;
- rtl_string_newFromStr_WithLength( &stringData, buf, rtl_str_valueOfInt32( buf, _nValue, 16 ) );
-
- lcl_writeConfigString( _pFile, _pKeyName, stringData->buffer );
-
- rtl_string_release( stringData );
- }
bool lcl_isConfigSection( const sal_Char* _pLine, size_t _nLineLen )
{
if ( _nLineLen < 2 )
@@ -459,13 +449,6 @@ namespace
*_out_pnAllFlags &= ~_nCheckFlag;
}
}
- void lcl_tryReadHexByte( const sal_Char* _pLine, size_t _nLineLen, const sal_Char* _pKeyName, sal_uInt8* _out_pnValue )
- {
- sal_Char aBuf[3];
- size_t nValueLen = lcl_tryReadConfigString( _pLine, _nLineLen, _pKeyName, aBuf, sizeof( aBuf ) );
- if ( nValueLen )
- *_out_pnValue = (sal_uInt8)rtl_str_toInt32( aBuf, 16 );
- }
}
// =======================================================================