summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-11 14:40:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-11 16:40:42 +0100
commit7ba61961cae3541fc32d3ac9492c7410869fb3e1 (patch)
tree65b7a0cfb4134a46c288537e37a32b11a84bc349 /rsc
parenta554c674d706f392ff9a073525ceec571072c60b (diff)
callcatcher: remove unused ChangeDefName
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscdef.hxx2
-rw-r--r--rsc/inc/rscinst.hxx2
-rw-r--r--rsc/source/tools/rscdef.cxx24
3 files changed, 0 insertions, 28 deletions
diff --git a/rsc/inc/rscdef.hxx b/rsc/inc/rscdef.hxx
index c5973e4a9bc8..bb9cb196d0c7 100644
--- a/rsc/inc/rscdef.hxx
+++ b/rsc/inc/rscdef.hxx
@@ -270,8 +270,6 @@ public:
sal_Bool IsDefUsed( const ByteString & );
void DeleteDef( const ByteString & );
- sal_Bool ChangeDefName( const ByteString & rDefName,
- const ByteString & rNewName );
// Alle Defines die in dieser Datei Definiert sind loeschen
void DeleteFileContext( sal_uLong lKey );
diff --git a/rsc/inc/rscinst.hxx b/rsc/inc/rscinst.hxx
index b64016bfac72..13535411c4bd 100644
--- a/rsc/inc/rscinst.hxx
+++ b/rsc/inc/rscinst.hxx
@@ -206,8 +206,6 @@ public:
const ByteString & rMacro );
sal_Bool IsDefUsed( const ByteString & );
void DeleteDef( const ByteString & rMacroName );
- ERRTYPE ChangeDefName( const ByteString & rMacroName,
- const ByteString & rNewName );
// Dateinamen-Instanz holen
RscFile * GetFileStruct();
diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx
index 86ad2828973c..9482a40b9f8c 100644
--- a/rsc/source/tools/rscdef.cxx
+++ b/rsc/source/tools/rscdef.cxx
@@ -1046,30 +1046,6 @@ sal_Bool RscFileTab::ChangeDef( const ByteString & rDefName,
/*************************************************************************
|*
-|* RscFileTab::ChangeDefName()
-|*
-*************************************************************************/
-sal_Bool RscFileTab::ChangeDefName( const ByteString & rDefName,
- const ByteString & rNewName )
-{
- RscDefine * pDef = FindDef( rDefName );
-
- //Name gefunden ?
- if( pDef ){
- // und neuer Name noch nicht bekannt ?
- if( !FindDef( pDef->GetFileKey(), rNewName ) ){
- aDefTree.Remove( pDef );
- pDef->SetName( rNewName );
- aDefTree.Insert( pDef );
- return( sal_True );
- }
- };
-
- return( sal_False );
-}
-
-/*************************************************************************
-|*
|* RscFileTab::DeleteFileContext()
|*
*************************************************************************/