[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Eike Rathke erack at redhat.com
Fri Jan 24 09:26:30 PST 2014


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

New commits:
commit 16d0b4020a1987accea37536defb2eb0fa7dd27f
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
    (cherry picked from commit 70abaf45eac49405aee70bbad13bcda75d8a9c15)
    Reviewed-on: https://gerrit.libreoffice.org/7634
    Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
    Tested-by: Kohei Yoshida <libreoffice at kohei.us>

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