summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-05-06 19:13:39 +0200
committerEike Rathke <erack@redhat.com>2015-05-06 19:17:06 +0200
commit4a53021f0662e08b56fd076f78ac182634fcec4c (patch)
tree16f010948c559bc95adc91525ffa743cb38bc6c2
parent595b2bbaedf730efc487fd9901365ffe03591e13 (diff)
assume modified if an index has no corresponding ScDBData (anymore)
Change-Id: I16cbc7d772f39c8778b8ba21a629ced6b0dbedeb
-rw-r--r--sc/source/core/tool/token.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 4b82778ae0c9..53fc62b9f391 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -2684,7 +2684,7 @@ bool isDBDataModified( const ScDocument& rDoc, const formula::FormulaToken& rTok
// Check if this DBData has been modified.
const ScDBData* pDBData = rDoc.GetDBCollection()->getNamedDBs().findByIndex( rToken.GetIndex());
if (!pDBData)
- return false;
+ return true;
return pDBData->IsModified();
}