diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 12:25:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 12:27:32 +0100 |
commit | 33740b7d5abb8aca34692fbdaa787b26a60652a9 (patch) | |
tree | ad2574a7850e2aa8ac18eaff89f4a85567896692 /rsc | |
parent | 43d7f4e3640c5e370fd1204739c2b0c7eb5f40e4 (diff) |
Replace exisiting TriState, AutoState with more generic TriState
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/parser/rscibas.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx index 0c28a07c2f0d..6e2aafffa52a 100644 --- a/rsc/source/parser/rscibas.cxx +++ b/rsc/source/parser/rscibas.cxx @@ -27,6 +27,7 @@ #include <i18nlangtag/languagetag.hxx> #include <tools/color.hxx> #include <tools/fldunit.hxx> +#include <tools/gen.hxx> #include <tools/mapunit.hxx> #include <tools/rc.h> #include <tools/wintypes.hxx> @@ -383,9 +384,9 @@ RscEnum * RscTypCont::InitTriState() RscEnum * pTriState; pTriState = new RscEnum( pHS->getID( "EnumTriState" ), RSC_NOTYPE ); - SETCONST( pTriState, "STATE_NOCHECK", STATE_NOCHECK ); - SETCONST( pTriState, "STATE_CHECK", STATE_CHECK ); - SETCONST( pTriState, "STATE_DONTKNOW", STATE_DONTKNOW ); + SETCONST( pTriState, "STATE_NOCHECK", TRISTATE_FALSE ); + SETCONST( pTriState, "STATE_CHECK", TRISTATE_TRUE ); + SETCONST( pTriState, "STATE_DONTKNOW", TRISTATE_INDET ); return pTriState; } |