summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/impldde.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-18 21:30:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:51 +0100
commit42a53497708e8b3b9b2d93bd39ac782fc185ac3e (patch)
tree288a49e85d66efd0006c5a6b161f893d3f14da6c /sfx2/source/appl/impldde.cxx
parent6812daf27117041eb02709291f506136259df264 (diff)
Some more loplugin:cstylecast: sfx2
Change-Id: I19f3ce00e5e19dd34db2d92cae1b532d3c3eae6a
Diffstat (limited to 'sfx2/source/appl/impldde.cxx')
-rw-r--r--sfx2/source/appl/impldde.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/impldde.cxx b/sfx2/source/appl/impldde.cxx
index 526a83932207..6f1cb5196bfb 100644
--- a/sfx2/source/appl/impldde.cxx
+++ b/sfx2/source/appl/impldde.cxx
@@ -327,7 +327,7 @@ IMPL_LINK( SvDDEObject, ImplGetDDEData, DdeData*, pData )
const sal_Char* p = (sal_Char*)( pData->operator const void*() );
long nLen = FORMAT_STRING == nFmt ? (p ? strlen( p ) : 0) : (long)*pData;
- Sequence< sal_Int8 > aSeq( (const sal_Int8*)p, nLen );
+ Sequence< sal_Int8 > aSeq( reinterpret_cast<const sal_Int8*>(p), nLen );
if( pGetData )
{
*pGetData <<= aSeq; // Copy Data