[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Fri Jan 24 09:18:40 PST 2014


 sc/source/core/tool/refdata.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 70abaf45eac49405aee70bbad13bcda75d8a9c15
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Jan 24 17:55:27 2014 +0100

    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

diff --git a/sc/source/core/tool/refdata.cxx b/sc/source/core/tool/refdata.cxx
index d830be9..8a86a1c 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);


More information about the Libreoffice-commits mailing list