summaryrefslogtreecommitdiff
path: root/include/tools/resmgr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-13 19:09:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-14 07:31:08 +0000
commit2b70fb58be039fbd05ea833a40b1b3e9f922e45c (patch)
tree76a80a96d8c3270159f54dbb27bb6139f433365e /include/tools/resmgr.hxx
parented8773a201bc4954050b87f6d2952525831d3499 (diff)
Use o3tl::strong_int on RESOURCE_TYPE
Change-Id: I42690c07a611e031963ff41942f530af4a5c672a Reviewed-on: https://gerrit.libreoffice.org/34220 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools/resmgr.hxx')
-rw-r--r--include/tools/resmgr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/resmgr.hxx b/include/tools/resmgr.hxx
index eec8d1a2c209..97126298818e 100644
--- a/include/tools/resmgr.hxx
+++ b/include/tools/resmgr.hxx
@@ -202,7 +202,7 @@ inline sal_uInt32 RSHEADER_TYPE::GetId()
inline RESOURCE_TYPE RSHEADER_TYPE::GetRT()
{
- return (RESOURCE_TYPE)ResMgr::GetLong( &nRT );
+ return RESOURCE_TYPE(ResMgr::GetLong( &nRT ));
}
inline sal_uInt32 RSHEADER_TYPE::GetGlobOff()