summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/sheetdatabuffer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-12 15:56:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-13 08:49:10 +0200
commitcd779b5f4e457678bd306ee2c873aac7f0e058c4 (patch)
tree63d7baa83eb200b7587a129a24f287748a7be671 /sc/source/filter/oox/sheetdatabuffer.cxx
parent3563220f048da5e0e893b8ac7faf5e8f14889fa5 (diff)
rename ScAttrEntry.nRow to nEndRow
since it's the last row that the pattern applies to Change-Id: I80d6d5787768b1e98e958d7adc4c13c37c560ccd Reviewed-on: https://gerrit.libreoffice.org/42211 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/oox/sheetdatabuffer.cxx')
-rw-r--r--sc/source/filter/oox/sheetdatabuffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/oox/sheetdatabuffer.cxx b/sc/source/filter/oox/sheetdatabuffer.cxx
index 4dba319eee72..ea5406bc1bf3 100644
--- a/sc/source/filter/oox/sheetdatabuffer.cxx
+++ b/sc/source/filter/oox/sheetdatabuffer.cxx
@@ -472,10 +472,10 @@ void SheetDataBuffer::finalizeImport()
if ( pXf )
pXf->applyPatternToAttrList( aAttrs, rRows->mnStartRow, rRows->mnEndRow, rRows->mnNumFmt.second );
}
- if (aAttrs.maAttrs.empty() || aAttrs.maAttrs.back().nRow != MAXROW)
+ if (aAttrs.maAttrs.empty() || aAttrs.maAttrs.back().nEndRow != MAXROW)
{
ScAttrEntry aEntry;
- aEntry.nRow = MAXROW;
+ aEntry.nEndRow = MAXROW;
aEntry.pPattern = pDefPattern;
rDoc.getDoc().GetPool()->Put(*aEntry.pPattern);
aAttrs.maAttrs.push_back(aEntry);