summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-30 21:30:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-01 09:27:24 +0000
commit9cb9ddbfb7d1baa4a3ac259354079c6e88429e69 (patch)
tree14f975aee228c9bd0725a31e0047517c799f5ff7
parent76e37b7f798a211a9a3f3110f30d65a2c93dba4b (diff)
callcatcher: remove unused appendStr
-rw-r--r--unusedcode.easy1
-rw-r--r--vcl/generic/print/psputil.cxx8
-rw-r--r--vcl/generic/print/psputil.hxx1
3 files changed, 0 insertions, 10 deletions
diff --git a/unusedcode.easy b/unusedcode.easy
index 747291b7714e..b09d11b6ce0b 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -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*)
diff --git a/vcl/generic/print/psputil.cxx b/vcl/generic/print/psputil.cxx
index 2664bac8d022..7f60cdb48726 100644
--- a/vcl/generic/print/psputil.cxx
+++ b/vcl/generic/print/psputil.cxx
@@ -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
*/
diff --git a/vcl/generic/print/psputil.hxx b/vcl/generic/print/psputil.hxx
index 2aaffda6519f..718e46d5a5b7 100644
--- a/vcl/generic/print/psputil.hxx
+++ b/vcl/generic/print/psputil.hxx
@@ -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);