diff options
-rw-r--r-- | tools/inc/tools/globname.hxx | 8 | ||||
-rw-r--r-- | tools/source/ref/globname.cxx | 30 |
2 files changed, 0 insertions, 38 deletions
diff --git a/tools/inc/tools/globname.hxx b/tools/inc/tools/globname.hxx index f0bf3e7a0625..e691d3a255fd 100644 --- a/tools/inc/tools/globname.hxx +++ b/tools/inc/tools/globname.hxx @@ -100,15 +100,7 @@ public: void MakeFromMemory( void * pData ); sal_Bool MakeId( const String & rId ); - String GetctorName() const; String GetHexName() const; - String GetRegDbName() const - { - String a = '{'; - a += GetHexName(); - a += '}'; - return a; - } SvGlobalName( const CLSID & rId ); const CLSID & GetCLSID() const { return *(CLSID *)pImp->szData; } 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 |