diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-21 08:24:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-23 12:36:14 +0200 |
commit | cb414252b8d5fcff516291ed4b9db75933e5331a (patch) | |
tree | 41011241dd6e3145fb21f8429be56d750a3290f5 /chart2/source/model | |
parent | c7cacf639d873e33cd98c56a0006d877b132341e (diff) |
loplugin: cstylecast
Change-Id: I4aafc170895d8bab47206c7b07b4f1f6105d42d3
Diffstat (limited to 'chart2/source/model')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 9e65853e313e..77354a99ab2b 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -1417,8 +1417,7 @@ void ChartModel::setTimeBasedRange(sal_Int32 nStart, sal_Int32 nEnd) void ChartModel::setWindow( const sal_uInt64 nWindowPtr ) throw (uno::RuntimeException, std::exception) { - void* pPtr = (void*)nWindowPtr; - OpenGLWindow* pWindow = reinterpret_cast<OpenGLWindow*>(pPtr); + OpenGLWindow* pWindow = reinterpret_cast<OpenGLWindow*>(nWindowPtr); mpOpenGLWindow = pWindow; } |