summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscibas.cxx
diff options
context:
space:
mode:
authorAmelia Wang <amwang@novell.com>2010-09-13 14:40:57 +0200
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-09-13 15:57:19 +0200
commitc85db626029fd8a5e0dfcb312937279df32339a0 (patch)
tree6d7b208776d8c70d8fd514e901d3786904fb90c9 /rsc/source/parser/rscibas.cxx
parent51fb3c7f1925c7d1604549dfd8fcc0139e54a36b (diff)
cjk-character-units-ui.diff: add a new unit 'character unit'
Diffstat (limited to 'rsc/source/parser/rscibas.cxx')
-rw-r--r--rsc/source/parser/rscibas.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx
index 1a896c897e27..6b79b4fdd3b3 100644
--- a/rsc/source/parser/rscibas.cxx
+++ b/rsc/source/parser/rscibas.cxx
@@ -237,6 +237,9 @@ RscEnum * RscTypCont::InitFieldUnitsType()
SETCONST( pFieldUnits, "FUNIT_FOOT", FUNIT_FOOT );
SETCONST( pFieldUnits, "FUNIT_MILE", FUNIT_MILE );
SETCONST( pFieldUnits, "FUNIT_CUSTOM", FUNIT_CUSTOM );
+ // Amelia : adds two units ,"char" and "line"
+ SETCONST( pFieldUnits, "FUNIT_CHAR", FUNIT_CHAR );
+ SETCONST( pFieldUnits, "FUNIT_LINE", FUNIT_LINE );
SETCONST( pFieldUnits, "FUNIT_PERCENT", FUNIT_PERCENT );
return pFieldUnits;