diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:51:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:51:23 +0200 |
commit | ad5daefda679ccbfb5b2759c970d34548bc2ba29 (patch) | |
tree | 2acfdf4d21e1edb1b51aaeb400f11611ffa08c56 /tools/source/rc/resmgr.cxx | |
parent | 2244ba7bc3e146e3ec8303064fb6d13ef548cdb2 (diff) |
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: Ic4b6409013a19a78025973b26318ef05611a6984
Diffstat (limited to 'tools/source/rc/resmgr.cxx')
-rw-r--r-- | tools/source/rc/resmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index 13b60e21ad02..d17c315b030a 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -597,7 +597,7 @@ void* InternalResMgr::LoadGlobalRes( RESOURCE_TYPE nRT, sal_uInt32 nId, pStm->Read( pStringBlock, nSize ); } *pResHandle = pStringBlock; - return (sal_uInt8*)pStringBlock + pFind->nOffset - nOffCorrection; + return pStringBlock + pFind->nOffset - nOffCorrection; } // if( nRT == RSC_STRING && bEqual2Content ) else { |