diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:23:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:23:17 +0200 |
commit | 761e0ae0a72f635564fef35852e0c87c755e3bd7 (patch) | |
tree | 9de5b02ba18f4531f931aea76620b8ebd02895d1 /basic/source/runtime/methods.cxx | |
parent | d7b2fe39be4b65af4cebe87a38786e4843e58329 (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I8bce930283301130ec7a2b1eab2a2c8f65c8abf9
Diffstat (limited to 'basic/source/runtime/methods.cxx')
-rw-r--r-- | basic/source/runtime/methods.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index ea1d8c207c00..5a86549402a8 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -4526,7 +4526,7 @@ RTLFUNC(LoadPicture) Graphic aGraphic(aBmp); SbxObjectRef xRef = new SbStdPicture; - static_cast<SbStdPicture*>((SbxObject*)xRef)->SetGraphic( aGraphic ); + static_cast<SbStdPicture*>(static_cast<SbxObject*>(xRef))->SetGraphic( aGraphic ); rPar.Get(0)->PutObject( xRef ); } } |