callcatcher: remove unused appendStr

This commit is contained in:
Caolán McNamara 2011-10-30 21:30:31 +00:00
parent 76e37b7f79
commit 9cb9ddbfb7
3 changed files with 0 additions and 10 deletions

View file

@ -2561,7 +2561,6 @@ psp::PrinterGfx::SetFallbackFont(int)
psp::PrinterJob::GetDocumentHeader()
psp::PrinterJob::GetDocumentTrailer()
psp::PrinterJob::GetErrorCode()
psp::appendStr(char const*, char*, int)
pyuno::Runtime::finalize()
pyuno::importToGlobal(_object*, _object*, _object*)
rptui::OFieldExpressionControl::LinkStubAsynchActivate(void*, void*)

View file

@ -142,14 +142,6 @@ appendStr (const sal_Char* pSrc, sal_Char* pDst)
return nBytes;
}
sal_Int32
appendStr (const sal_Char* pSrc, sal_Char* pDst, sal_Int32 nBytes)
{
strncpy (pDst, pSrc, nBytes);
pDst [nBytes] = '\0';
return nBytes;
}
/*
* copy strings to file
*/

View file

@ -49,7 +49,6 @@ sal_Int32 getHexValueOf (sal_Int32 nValue, sal_Char* pBuffer);
sal_Int32 getAlignedHexValueOf (sal_Int32 nValue, sal_Char* pBuffer);
sal_Int32 getValueOf (sal_Int32 nValue, sal_Char* pBuffer);
sal_Int32 appendStr (const sal_Char* pSrc, sal_Char* pDst);
sal_Int32 appendStr (const sal_Char* pSrc, sal_Char* pDst, sal_Int32 nBytes);
sal_Bool WritePS (osl::File* pFile, const sal_Char* pString);
sal_Bool WritePS (osl::File* pFile, const sal_Char* pString, sal_uInt64 nInLength);