diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-27 12:47:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-27 12:59:48 +0000 |
commit | 8145136690674689610da84b47b96e81dd9438f0 (patch) | |
tree | ba11a906bdeb4c444edaeb2afbf797f1265600b4 /tools/source/ref | |
parent | 595b7345012ddfb2e04f70f4d03c0bd6cbd62862 (diff) |
SvGlobalName::GetctorName is now redundant
Diffstat (limited to 'tools/source/ref')
-rw-r--r-- | tools/source/ref/globname.cxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tools/source/ref/globname.cxx b/tools/source/ref/globname.cxx index 6a57099b0db7..e9b2ed01a0bf 100644 --- a/tools/source/ref/globname.cxx +++ b/tools/source/ref/globname.cxx @@ -339,36 +339,6 @@ sal_Bool SvGlobalName::MakeId( const String & rIdStr ) } /************************************************************************* -|* SvGlobalName::GetctorName() -*************************************************************************/ -String SvGlobalName::GetctorName() const -{ - rtl::OStringBuffer aStrBuffer; - - sal_Char buf[ 20 ]; - sal_uInt32 Data1; - memcpy(&Data1, pImp->szData, sizeof(sal_uInt32)); - sprintf( buf, "0x%8.8" SAL_PRIXUINT32, Data1 ); - aStrBuffer.append(buf); - sal_uInt16 i; - for( i = 4; i < 8; i += 2 ) - { - aStrBuffer.append(','); - sal_uInt16 Data2; - memcpy(&Data2, pImp->szData+i, sizeof(sal_uInt16)); - sprintf( buf, "0x%4.4X", Data2 ); - aStrBuffer.append(buf); - } - for( i = 8; i < 16; i++ ) - { - aStrBuffer.append(','); - sprintf( buf, "0x%2.2x", pImp->szData[ i ] ); - aStrBuffer.append(buf); - } - return rtl::OStringToOUString(aStrBuffer.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US); -} - -/************************************************************************* |* SvGlobalName::GetHexName() *************************************************************************/ String SvGlobalName::GetHexName() const |