From 1938fd869b8226af00925caa7ac991618d35ee0c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 14 May 2016 16:17:25 +0200 Subject: Convert RSWND to scoped enum Change-Id: If6e5753ade8b096a4ba1c10b47c2360ff26d181f Reviewed-on: https://gerrit.libreoffice.org/24993 Tested-by: Jenkins Reviewed-by: Noel Grandin --- rsc/inc/rscdb.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rsc/inc') diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index ea4cdd029923..07db8596fd24 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -45,6 +45,7 @@ enum class ToolBoxItemType; enum class ButtonType; enum class WindowAlign; enum class SfxStyleFamily; +enum class RSWND; struct WriteRcContext { @@ -146,6 +147,7 @@ class RscTypCont void SETCONST( RscConst *, Atom, sal_uInt32 ); inline void SETCONST( RscConst *p1, const char * p2, SymbolType p3 ) { SETCONST(p1, p2, static_cast(p3)); } inline void SETCONST( RscConst *p1, Atom p2, ToolBoxItemBits p3 ) { SETCONST(p1, p2, static_cast(p3)); } + inline void SETCONST( RscConst *p1, Atom p2, RSWND p3 ) { SETCONST(p1, p2, static_cast(p3)); } inline void SETCONST( RscConst *p1, Atom p2, WindowBorderStyle p3 ) { SETCONST(p1, p2, static_cast(p3)); } inline void SETCONST( RscConst *p1, const char * p2, KeyFuncType p3 ) { SETCONST(p1, p2, static_cast(p3)); } inline void SETCONST( RscConst *p1, Atom p2, MenuItemBits p3 ) { SETCONST(p1, p2, static_cast(p3)); } -- cgit