summaryrefslogtreecommitdiff
path: root/cppcanvas/source/uno
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-01 13:08:05 +0200
committerNoel Grandin <noel@peralex.com>2014-10-01 13:08:43 +0200
commit15eceec17e91dd227e9f815a492df88c4aa7175f (patch)
tree75d477d2ef5c5efad676851a4d8648d294453e73 /cppcanvas/source/uno
parente27ac011c3f1e5ccc178cc5cd8e6d46d73be2e76 (diff)
loplugin: cstylecast
Change-Id: I6fb9e1b1d55d5bc8e71bfbae599a4f9744d559f1
Diffstat (limited to 'cppcanvas/source/uno')
-rw-r--r--cppcanvas/source/uno/uno_mtfrenderer.cxx2
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()) );
}
}