diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-13 19:09:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 07:31:08 +0000 |
commit | 2b70fb58be039fbd05ea833a40b1b3e9f922e45c (patch) | |
tree | 76a80a96d8c3270159f54dbb27bb6139f433365e /rsc/inc/rscconst.hxx | |
parent | ed8773a201bc4954050b87f6d2952525831d3499 (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 'rsc/inc/rscconst.hxx')
-rw-r--r-- | rsc/inc/rscconst.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rsc/inc/rscconst.hxx b/rsc/inc/rscconst.hxx index 44b92b915547..8519f9a1104b 100644 --- a/rsc/inc/rscconst.hxx +++ b/rsc/inc/rscconst.hxx @@ -23,6 +23,7 @@ #include <rscerror.h> #include <rschash.hxx> #include <rsctop.hxx> +#include <tools/resid.hxx> class RscConst : public RscTop { @@ -35,7 +36,7 @@ protected: VarEle * pVarArray; // pointer to the field with constant sal_uInt32 nEntries; // number of entries in field public: - RscConst( Atom nId, sal_uInt32 nTypId ); + RscConst( Atom nId, RESOURCE_TYPE nTypId ); virtual ~RscConst() override; virtual RSCCLASS_TYPE GetClassType() const override; // sets the allowed values @@ -53,7 +54,7 @@ class RscEnum : public RscConst bool bDflt; // is default }; public: - RscEnum( Atom nId, sal_uInt32 nTypId ); + RscEnum( Atom nId, RESOURCE_TYPE nTypId ); RSCINST Create( RSCINST * pInst, const RSCINST & rDfltInst, bool bOwnClass = false ) override; sal_uInt32 Size() const override { return ALIGNED_SIZE(sizeof(RscEnumInst)); } |