diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-03 01:12:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-03 01:12:01 +0100 |
commit | 23a90a9923ea81865de56010f962d190958c57d3 (patch) | |
tree | e2731337de72f0a7c83a1b9d82e902a6ce552f9a | |
parent | 1df73a8a61e3b90a65426265a8fa12e0302f2107 (diff) |
callcatcher: unused InputFile
-rw-r--r-- | rsc/inc/rsctools.hxx | 1 | ||||
-rw-r--r-- | rsc/source/tools/rsctools.cxx | 23 |
2 files changed, 0 insertions, 24 deletions
diff --git a/rsc/inc/rsctools.hxx b/rsc/inc/rsctools.hxx index b65207dafac3..5792c1de8cff 100644 --- a/rsc/inc/rsctools.hxx +++ b/rsc/inc/rsctools.hxx @@ -51,7 +51,6 @@ enum RSCBYTEORDER_TYPE { RSC_BIGENDIAN, RSC_LITTLEENDIAN, RSC_SYSTEMENDIAN }; ByteString GetTmpFileName(); sal_Bool Append( ByteString aDestFile, ByteString aSourceFile ); sal_Bool Append( FILE * fDest, ByteString aSourceFile ); -ByteString InputFile ( const char * pInput, const char * pExt ); ByteString OutputFile( ByteString aInput, const char * ext ); char * ResponseFile( RscPtrPtr * ppCmd, char ** ppArgv, sal_uInt32 nArgc ); diff --git a/rsc/source/tools/rsctools.cxx b/rsc/source/tools/rsctools.cxx index ec0931607c44..006b225c04ae 100644 --- a/rsc/source/tools/rsctools.cxx +++ b/rsc/source/tools/rsctools.cxx @@ -177,29 +177,6 @@ sal_Bool Append( ByteString aOutputSrs, ByteString aTmpFile ) /************************************************************************* |* -|* InputFile -|* -|* Beschreibung Haengt Extension an, wenn keine da ist -|* Parameter: pInput, der Input-Dateiname. -|* pExt, die Extension des Ausgabenamens -|* -*************************************************************************/ -ByteString InputFile ( const char * pInput, const char * pExt ) -{ - UniString aUniInput( pInput, RTL_TEXTENCODING_ASCII_US ); - DirEntry aFileName( aUniInput ); - - if ( 0 == aFileName.GetExtension().Len() ) - { - UniString aExt( pExt, RTL_TEXTENCODING_ASCII_US ); - aFileName.SetExtension( aExt ); - } - - return ByteString( aFileName.GetFull(), RTL_TEXTENCODING_ASCII_US ); -} - -/************************************************************************* -|* |* OutputFile |* |* Beschreibung Ersetzt Extension durch eine andere |