]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetTabular.cpp
Explicit InsetTableCell copy constructor
[features.git] / src / insets / InsetTabular.cpp
index d24d174cbc74a9eeac2fac136d1d3edd6ae97ded..78601a0ed0dea2db7dab7d7eee46b07bd3c7add6 100644 (file)
@@ -4205,6 +4205,13 @@ InsetTableCell::InsetTableCell(Buffer * buf)
          isMultiColumn(false), isMultiRow(false), contentAlign(LYX_ALIGN_CENTER)
 {}
 
+InsetTableCell::InsetTableCell(InsetTableCell const & in) : InsetText(in)
+{
+       isFixedWidth = in.isFixedWidth;
+       isMultiColumn = in.isMultiColumn;
+       isMultiRow = in.isMultiRow;
+       contentAlign = in.contentAlign;
+}
 
 bool InsetTableCell::forcePlainLayout(idx_type) const
 {