aboutsummaryrefslogtreecommitdiff
path: root/dw/table.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-11-17 16:01:17 +0100
committerSebastian Geerken <devnull@localhost>2013-11-17 16:01:17 +0100
commit0ff5581158180cde9d49c507aacd5d1a4e1a5b53 (patch)
tree5c4b494fc101481d1667adb6a8bd4b83e9dee1b1 /dw/table.hh
parent4045b3d64203bc758a14926cd6c6ac48c200c10c (diff)
Some refactoring: floats may be removed related do Length, so usage is reduced.
Diffstat (limited to 'dw/table.hh')
-rw-r--r--dw/table.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/dw/table.hh b/dw/table.hh
index b8feb835..1d14ec07 100644
--- a/dw/table.hh
+++ b/dw/table.hh
@@ -393,11 +393,9 @@ private:
/**
* hasColPercent becomes true when any cell specifies a percentage width.
- * A negative value in colPercents means LEN_AUTO or LEN_ABS.
*/
- enum { LEN_AUTO = -1, LEN_ABS = -2};
int hasColPercent;
- lout::misc::SimpleVector<float> *colPercents;
+ lout::misc::SimpleVector<core::style::Length> *colPercents;
inline bool childDefined(int n)
{