summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-02 17:49:42 +0100
committerMichael Stahl <mstahl@redhat.com>2011-11-02 17:49:42 +0100
commit66d9925bb6e9c43aacfe9e4ac6f1ee10a8e25166 (patch)
treeea3e9cb2bd0ca5a8fe7432908bdfdd5071f0773d /vcl/generic
parentb2254d5d6fde8c28501e99e29bc824e935a25247 (diff)
parentf6f5c89259867b5aeb86d5509f826da949d122c4 (diff)
Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/core
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);