summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/table/tablecontext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-05 15:16:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-06 09:21:58 +0000
commit0c82dff153d92150729815b919854a9a350aa031 (patch)
tree9bda3cba13d9534460b2fe7919b00009e8ffd425 /oox/source/drawingml/table/tablecontext.cxx
parent9458ce11084579b020650fecb1165052c16ee556 (diff)
loplugin:singlevalfields
Change-Id: Ia681765aa1da5c80a3dbe91b7376af841a9c9ec1 Reviewed-on: https://gerrit.libreoffice.org/36145 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/drawingml/table/tablecontext.cxx')
-rw-r--r--oox/source/drawingml/table/tablecontext.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/oox/source/drawingml/table/tablecontext.cxx b/oox/source/drawingml/table/tablecontext.cxx
index 9e4cd315e62f..c3c5f48b18a9 100644
--- a/oox/source/drawingml/table/tablecontext.cxx
+++ b/oox/source/drawingml/table/tablecontext.cxx
@@ -50,13 +50,12 @@ TableContext::onCreateContext( ::sal_Int32 aElementToken, const AttributeList& r
{
case A_TOKEN( tblPr ): // CT_TableProperties
{
- mrTableProperties.isRtl() = rAttribs.getBool( XML_rtl, false );
- mrTableProperties.isFirstRow() = rAttribs.getBool( XML_firstRow, false );
- mrTableProperties.isFirstCol() = rAttribs.getBool( XML_firstCol, false );
- mrTableProperties.isLastRow() = rAttribs.getBool( XML_lastRow, false );
- mrTableProperties.isLastCol() = rAttribs.getBool( XML_lastCol, false );
- mrTableProperties.isBandRow() = rAttribs.getBool( XML_bandRow, false );
- mrTableProperties.isBandCol() = rAttribs.getBool( XML_bandCol, false );
+ mrTableProperties.setFirstRow( rAttribs.getBool( XML_firstRow, false ) );
+ mrTableProperties.setFirstCol( rAttribs.getBool( XML_firstCol, false ) );
+ mrTableProperties.setLastRow( rAttribs.getBool( XML_lastRow, false ) );
+ mrTableProperties.setLastCol( rAttribs.getBool( XML_lastCol, false ) );
+ mrTableProperties.setBandRow( rAttribs.getBool( XML_bandRow, false ) );
+ mrTableProperties.setBandCol( rAttribs.getBool( XML_bandCol, false ) );
}
break;
case A_TOKEN( tableStyle ): // CT_TableStyle