summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:12:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:12:50 +0200
commit6d393f82b1870368be00a0054feb1685d0a1263d (patch)
treef58be33ea7a62c85deb8643ef2cd1025301f4192 /cppcanvas
parent5209884f618ab5a20a8aecbfb832e99474b4654d (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: Ia61e598a42192ee1a5f667773c1d0efdff63cf48
Diffstat (limited to 'cppcanvas')
-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 a2e2c419043a..ea9fe16d64f6 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 = reinterpret_cast<GDIMetaFile*>( *reinterpret_cast<const sal_Int64*>(aAny.getValue()) );
+ mpMetafile = reinterpret_cast<GDIMetaFile*>( *static_cast<const sal_Int64*>(aAny.getValue()) );
}
}