summaryrefslogtreecommitdiff
path: root/rsc/source/res/rscmgr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-10-11 08:15:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-11 08:43:33 +0000
commitd0304a8f57b3fe0065193a2a3f7089f414b1ffd9 (patch)
tree6ac18f078dc91b56ae7db204028c15089113339c /rsc/source/res/rscmgr.cxx
parent52dfb06b194bf890510352a98540c64bc3d44b70 (diff)
remove some conversion operator methods
which, in these cases, only serve to make the code harder to read Change-Id: Ic9bcf42545b4fcfd60a535fb63956092d392f469 Reviewed-on: https://gerrit.libreoffice.org/29685 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc/source/res/rscmgr.cxx')
-rw-r--r--rsc/source/res/rscmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/res/rscmgr.cxx b/rsc/source/res/rscmgr.cxx
index 2de220dca5f1..33f805830718 100644
--- a/rsc/source/res/rscmgr.cxx
+++ b/rsc/source/res/rscmgr.cxx
@@ -233,7 +233,7 @@ ERRTYPE RscMgr::WriteRcHeader( const RSCINST & rInst, RscWriteRc & rMem,
sal_uInt32 nLocalOff; // local offset
};
*/
- sal_uInt32 nID = rId;
+ sal_uInt32 nID = rId.GetNumber();
rMem.PutAt( nOldSize, nID );
rMem.PutAt( nOldSize +4, (sal_uInt32)rInst.pClass->GetTypId() );
rMem.PutAt( nOldSize +8, (sal_uInt32)(rMem.Size() - nOldSize) );