summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/TableManager.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper/TableManager.hxx')
-rw-r--r--writerfilter/source/dmapper/TableManager.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/TableManager.hxx b/writerfilter/source/dmapper/TableManager.hxx
index 2dcf679e135f..3bae3223d72a 100644
--- a/writerfilter/source/dmapper/TableManager.hxx
+++ b/writerfilter/source/dmapper/TableManager.hxx
@@ -112,7 +112,14 @@ class TableManager : public virtual SvRefBase
void resetCellProps()
{
- mpCellProps = getTableExceptionProps();
+ // copy tblPrEx table exception properties, if they exist
+ if (getTableExceptionProps().is())
+ {
+ mpCellProps = new TablePropertyMap;
+ mpCellProps->InsertProps(getTableExceptionProps().get());
+ }
+ else
+ mpCellProps.clear();
}
void setCellProps(TablePropertyMapPtr pProps)
@@ -147,6 +154,8 @@ class TableManager : public virtual SvRefBase
void setTableExceptionProps(TablePropertyMapPtr pProps)
{
mpTableExceptionProps = pProps;
+ // set table exception properties of the first cell
+ resetCellProps();
}
const TablePropertyMapPtr& getTableExceptionProps() const