summaryrefslogtreecommitdiff
path: root/tools/source/rc/resmgr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:51:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:51:23 +0200
commitad5daefda679ccbfb5b2759c970d34548bc2ba29 (patch)
tree2acfdf4d21e1edb1b51aaeb400f11611ffa08c56 /tools/source/rc/resmgr.cxx
parent2244ba7bc3e146e3ec8303064fb6d13ef548cdb2 (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.cxx2
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
{