diff options
Diffstat (limited to 'dw/table.cc')
-rw-r--r-- | dw/table.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dw/table.cc b/dw/table.cc index 565dfc9e..794e588d 100644 --- a/dw/table.cc +++ b/dw/table.cc @@ -393,7 +393,7 @@ void Table::addRow (core::style::Style *style) rowClosed = false; } -TableCell *Table::getCellRef () +AlignedTableCell *Table::getCellRef () { core::Widget *child; @@ -401,8 +401,8 @@ TableCell *Table::getCellRef () int n = curCol + row * numCols; if (childDefined (n)) { child = children->get(n)->cell.widget; - if (child->instanceOf (TableCell::CLASS_ID)) - return (TableCell*)child; + if (child->instanceOf (AlignedTableCell::CLASS_ID)) + return (AlignedTableCell*)child; } } |