summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-27 12:47:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-27 12:59:48 +0000
commit8145136690674689610da84b47b96e81dd9438f0 (patch)
treeba11a906bdeb4c444edaeb2afbf797f1265600b4 /tools
parent595b7345012ddfb2e04f70f4d03c0bd6cbd62862 (diff)
SvGlobalName::GetctorName is now redundant
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/globname.hxx8
-rw-r--r--tools/source/ref/globname.cxx30
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