callcatcher: unused InputFile
This commit is contained in:
parent
1df73a8a61
commit
23a90a9923
2 changed files with 0 additions and 24 deletions
|
@ -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 );
|
||||
|
|
|
@ -175,29 +175,6 @@ sal_Bool Append( ByteString aOutputSrs, ByteString aTmpFile )
|
|||
return bRet;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|*
|
||||
|* 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
|
||||
|
|
Loading…
Reference in a new issue