summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscibas.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-27 20:41:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-10-28 06:12:28 +0000
commit17a99a9074a7d25cc7e13bf7aaac0fa11e2174a0 (patch)
treefa314e333575af0d219dd87ff589a58736f55f03 /rsc/source/parser/rscibas.cxx
parent282e954477f904524ca192256c4e33ab0585e2f6 (diff)
fdo#84938: replace TIMEF_ constants with enum
Change-Id: Ia6aa4e21fef46b20d1d8996d2f15855b8ba1776e Reviewed-on: https://gerrit.libreoffice.org/12114 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc/source/parser/rscibas.cxx')
-rw-r--r--rsc/source/parser/rscibas.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx
index a7c5c2dfb068..da5d688cb7f2 100644
--- a/rsc/source/parser/rscibas.cxx
+++ b/rsc/source/parser/rscibas.cxx
@@ -209,9 +209,9 @@ RscEnum * RscTypCont::InitTimeFieldFormat()
pTimeFieldFormat = new RscEnum( pHS->getID( "EnumTimeFieldFormat" ),
RSC_NOTYPE );
- SETCONST( pTimeFieldFormat, "TIMEF_NONE", TIMEF_NONE );
- SETCONST( pTimeFieldFormat, "TIMEF_SEC", TIMEF_SEC );
- SETCONST( pTimeFieldFormat, "TIMEF_100TH_SEC", TIMEF_100TH_SEC );
+ SETCONST( pTimeFieldFormat, "TIMEF_NONE", TimeFieldFormat::F_NONE );
+ SETCONST( pTimeFieldFormat, "TIMEF_SEC", TimeFieldFormat::F_SEC );
+ SETCONST( pTimeFieldFormat, "TIMEF_100TH_SEC", TimeFieldFormat::F_100TH_SEC );
return pTimeFieldFormat;
}