From 7ef698355ad59c6fa263daa4ded124cf512e8926 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 26 Oct 2014 13:01:46 +0200 Subject: fdo#84938: replace KEYTYPE_ constants with enum Change-Id: I563cf96f8ca815d6c8ad9f5fe365fc7ce7a2a328 Reviewed-on: https://gerrit.libreoffice.org/12104 Reviewed-by: Noel Grandin Tested-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 ff097bc0bcd1..6dad375a9cad 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -39,6 +39,7 @@ class RscCmdLine; enum class SymbolType : sal_uInt16; enum class ToolBoxItemBits; enum class WindowBorderStyle : sal_uInt16; +enum class KeyFuncType : sal_Int32; struct WriteRcContext { @@ -144,6 +145,7 @@ class RscTypCont 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, WindowBorderStyle p3 ) { SETCONST(p1, p2, static_cast(p3)); } + inline void SETCONST( RscConst *p1, const char * p2, KeyFuncType p3 ) { SETCONST(p1, p2, static_cast(p3)); } void SETCONST( RscConst *, Atom, sal_uInt32 ); RscEnum * InitLangType(); RscEnum * InitFieldUnitsType(); -- cgit