diff options
Diffstat (limited to 'sdext/source/pdfimport/pdfparse/pdfparse.cxx')
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfparse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx index 21c191c3c97b..ae8736115c79 100644 --- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx @@ -52,7 +52,7 @@ class StringEmitContext : public EmitContext virtual ~StringEmitContext() {} virtual bool write( const void* pBuf, unsigned int nLen ) throw() SAL_OVERRIDE { - m_aBuf.append( (const sal_Char*)pBuf, nLen ); + m_aBuf.append( static_cast<const sal_Char*>(pBuf), nLen ); return true; } virtual unsigned int getCurPos() throw() SAL_OVERRIDE { return m_aBuf.getLength(); } |