Kaydet (Commit) 4a53021f authored tarafından Eike Rathke's avatar Eike Rathke

assume modified if an index has no corresponding ScDBData (anymore)

Change-Id: I16cbc7d772f39c8778b8ba21a629ced6b0dbedeb
üst 595b2bba
...@@ -2684,7 +2684,7 @@ bool isDBDataModified( const ScDocument& rDoc, const formula::FormulaToken& rTok ...@@ -2684,7 +2684,7 @@ bool isDBDataModified( const ScDocument& rDoc, const formula::FormulaToken& rTok
// Check if this DBData has been modified. // Check if this DBData has been modified.
const ScDBData* pDBData = rDoc.GetDBCollection()->getNamedDBs().findByIndex( rToken.GetIndex()); const ScDBData* pDBData = rDoc.GetDBCollection()->getNamedDBs().findByIndex( rToken.GetIndex());
if (!pDBData) if (!pDBData)
return false; return true;
return pDBData->IsModified(); return pDBData->IsModified();
} }
......
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