diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 14:40:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 16:40:42 +0100 |
commit | 7ba61961cae3541fc32d3ac9492c7410869fb3e1 (patch) | |
tree | 65b7a0cfb4134a46c288537e37a32b11a84bc349 | |
parent | a554c674d706f392ff9a073525ceec571072c60b (diff) |
callcatcher: remove unused ChangeDefName
-rw-r--r-- | rsc/inc/rscdef.hxx | 2 | ||||
-rw-r--r-- | rsc/inc/rscinst.hxx | 2 | ||||
-rw-r--r-- | rsc/source/tools/rscdef.cxx | 24 |
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() |* *************************************************************************/ |