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

range list might be nil, who knows

Change-Id: Iee5554f1b51db0f6dc22ccbed743ae431bb895f6
üst 9cee6a45
...@@ -374,7 +374,8 @@ bool ScTableProtectionImpl::updateReference( UpdateRefMode eMode, ScDocument* pD ...@@ -374,7 +374,8 @@ bool ScTableProtectionImpl::updateReference( UpdateRefMode eMode, ScDocument* pD
for (::std::vector<ScEnhancedProtection>::iterator it(maEnhancedProtection.begin()); for (::std::vector<ScEnhancedProtection>::iterator it(maEnhancedProtection.begin());
it != maEnhancedProtection.end(); ++it) it != maEnhancedProtection.end(); ++it)
{ {
bChanged |= (*it).maRangeList->UpdateReference( eMode, pDoc, rWhere, nDx, nDy, nDz); if ((*it).maRangeList.Is())
bChanged |= (*it).maRangeList->UpdateReference( eMode, pDoc, rWhere, nDx, nDy, nDz);
} }
return bChanged; return bChanged;
} }
......
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