summaryrefslogtreecommitdiff
path: root/vcl/generic
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 /vcl/generic
parent76e37b7f798a211a9a3f3110f30d65a2c93dba4b (diff)
callcatcher: remove unused appendStr
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/print/psputil.cxx8
-rw-r--r--vcl/generic/print/psputil.hxx1
2 files changed, 0 insertions, 9 deletions
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);