aboutsummaryrefslogtreecommitdiff
path: root/dw/simpletablecell.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/simpletablecell.cc')
-rw-r--r--dw/simpletablecell.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/dw/simpletablecell.cc b/dw/simpletablecell.cc
index 3a356cbc..083deaed 100644
--- a/dw/simpletablecell.cc
+++ b/dw/simpletablecell.cc
@@ -43,4 +43,16 @@ bool SimpleTableCell::isBlockLevel ()
return false;
}
+int SimpleTableCell::applyPerWidth (int containerWidth,
+ core::style::Length perWidth)
+{
+ return core::style::multiplyWithPerLength (containerWidth, perWidth);
+}
+
+int SimpleTableCell::applyPerHeight (int containerHeight,
+ core::style::Length perHeight)
+{
+ return core::style::multiplyWithPerLength (containerHeight, perHeight);
+}
+
} // namespace dw