diff options
author | Eike Rathke <erack@redhat.com> | 2014-01-24 17:55:27 +0100 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2014-01-24 17:26:07 +0000 |
commit | 16d0b4020a1987accea37536defb2eb0fa7dd27f (patch) | |
tree | cd6e041a814743138d76e0194dbf4c02e1996103 /sc | |
parent | 4479507f744149e8268be48de6d600e7ccefd0dd (diff) |
resolved fdo#73235 initialize reference flags
References initialized via ScSingleRefData::InitAddressRel() and
ScComplexRefData::InitRangeRel() didn't have their flags memory
initialized, leading to tab/col/row reference may had been flagged as
deleted or other quirks.
This also fixes fdo#72605
Change-Id: If5e9f4c3a9171f068f7986d2bd6b4b312df3c37e
(cherry picked from commit 70abaf45eac49405aee70bbad13bcda75d8a9c15)
Reviewed-on: https://gerrit.libreoffice.org/7634
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/refdata.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/refdata.cxx b/sc/source/core/tool/refdata.cxx index d830be9c6d47..8a86a1cf1803 100644 --- a/sc/source/core/tool/refdata.cxx +++ b/sc/source/core/tool/refdata.cxx @@ -34,6 +34,7 @@ void ScSingleRefData::InitAddress( SCCOL nColP, SCROW nRowP, SCTAB nTabP ) void ScSingleRefData::InitAddressRel( const ScAddress& rAdr, const ScAddress& rPos ) { + InitFlags(); SetColRel(true); SetRowRel(true); SetTabRel(true); |