summaryrefslogtreecommitdiff
path: root/vcl/source/window/wrkwin.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-19 15:10:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:54 +0100
commitfe9d002ef55e30aa3629f4e1951beb18ebb692b0 (patch)
tree1c72b3d97c34801d23ab1d9509aa56081e4d401f /vcl/source/window/wrkwin.cxx
parentf6cfe99d22041061b8042cdab05e57180c0ab70a (diff)
Some more loplugin:cstylecast: vcl
Change-Id: I74d35630b9fcdaa97af0b1f1e6d1e5c72488964d
Diffstat (limited to 'vcl/source/window/wrkwin.cxx')
-rw-r--r--vcl/source/window/wrkwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/wrkwin.cxx b/vcl/source/window/wrkwin.cxx
index 33515067570e..1f75bd63a5ec 100644
--- a/vcl/source/window/wrkwin.cxx
+++ b/vcl/source/window/wrkwin.cxx
@@ -73,7 +73,7 @@ void WorkWindow::ImplInit( vcl::Window* pParent, WinBits nStyle, const ::com::su
{
::com::sun::star::uno::Sequence< sal_Int8 > aSeq;
aSystemWorkWindowToken >>= aSeq;
- SystemParentData* pData = (SystemParentData*)aSeq.getArray();
+ SystemParentData* pData = reinterpret_cast<SystemParentData*>(aSeq.getArray());
DBG_ASSERT( aSeq.getLength() == sizeof( SystemParentData ) && pData->nSize == sizeof( SystemParentData ), "WorkWindow::WorkWindow( vcl::Window*, const Any&, WinBits ) called with invalid Any" );
// init with style 0 as does WorkWindow::WorkWindow( SystemParentData* );
ImplInit( pParent, 0, pData );