summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
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);