From 9e28cc8ca79b5c42955867a62e89faf8facc5e80 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 23 Jul 2015 13:19:40 +0200 Subject: convert WindowAlign to scoped enum Change-Id: I028d108b3a83bd5541d873c4d03b87339cd3be52 --- 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 7428785fca7b..bbaa74dbb014 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -43,6 +43,7 @@ enum class KeyFuncType : sal_Int32; enum class MenuItemBits : sal_Int16; enum class ToolBoxItemType; enum class ButtonType; +enum class WindowAlign; struct WriteRcContext { @@ -155,6 +156,7 @@ class RscTypCont inline void SETCONST( RscConst *p1, const char * p2, ToolBoxItemType p3 ) { SETCONST(p1, p2, static_cast(p3)); } inline void SETCONST( RscConst *p1, Atom p2, ButtonType p3 ) { SETCONST(p1, p2, static_cast(p3)); } inline void SETCONST( RscConst *p1, const char * p2, ButtonType p3 ) { SETCONST(p1, p2, static_cast(p3)); } + inline void SETCONST( RscConst *p1, const char * p2, WindowAlign p3 ) { SETCONST(p1, p2, static_cast(p3)); } RscEnum * InitLangType(); RscEnum * InitFieldUnitsType(); RscEnum * InitColor(); -- cgit