diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-01 13:08:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-01 13:08:43 +0200 |
commit | 15eceec17e91dd227e9f815a492df88c4aa7175f (patch) | |
tree | 75d477d2ef5c5efad676851a4d8648d294453e73 /cppcanvas/source/uno/uno_mtfrenderer.cxx | |
parent | e27ac011c3f1e5ccc178cc5cd8e6d46d73be2e76 (diff) |
loplugin: cstylecast
Change-Id: I6fb9e1b1d55d5bc8e71bfbae599a4f9744d559f1
Diffstat (limited to 'cppcanvas/source/uno/uno_mtfrenderer.cxx')
-rw-r--r-- | cppcanvas/source/uno/uno_mtfrenderer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/uno/uno_mtfrenderer.cxx b/cppcanvas/source/uno/uno_mtfrenderer.cxx index 4a9cc0937666..a2e2c419043a 100644 --- a/cppcanvas/source/uno/uno_mtfrenderer.cxx +++ b/cppcanvas/source/uno/uno_mtfrenderer.cxx @@ -35,7 +35,7 @@ void MtfRenderer::draw (double fScaleX, double fScaleY) throw (uno::RuntimeExcep void MtfRenderer::setFastPropertyValue( sal_Int32 nHandle, const uno::Any& aAny) throw (uno::RuntimeException, std::exception) { if (nHandle == 0) { - mpMetafile = (GDIMetaFile*) *reinterpret_cast<const sal_Int64*>(aAny.getValue()); + mpMetafile = reinterpret_cast<GDIMetaFile*>( *reinterpret_cast<const sal_Int64*>(aAny.getValue()) ); } } |