Kaydet (Commit) 6e566c2b authored tarafından Eike Rathke's avatar Eike Rathke

Resolves: tdf#119700 save correct table:last-row-spanned

Regression from

    commit f6e6a613
    CommitDate: Mon Nov 21 07:49:06 2016 +0000

        tdf#48140 Replace uno CellRangeAddress and CellAddress with direct calls

that calculated endrow-startcol instead of endrow-startrow.

Change-Id: Ie576f9abdcdc23fc5f0a06735caadc24e975360f
Reviewed-on: https://gerrit.libreoffice.org/63374Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: Jenkins
üst f17a9467
......@@ -162,7 +162,7 @@ struct ScMyAreaLink
ScMyAreaLink() : nRefresh( 0 ) {}
sal_Int32 GetColCount() const { return aDestRange.aEnd.Col() - aDestRange.aStart.Col() + 1; }
sal_Int32 GetRowCount() const { return aDestRange.aEnd.Row() - aDestRange.aStart.Col() + 1; }
sal_Int32 GetRowCount() const { return aDestRange.aEnd.Row() - aDestRange.aStart.Row() + 1; }
bool Compare( const ScMyAreaLink& rAreaLink ) const;
bool operator<(const ScMyAreaLink& rAreaLink ) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment