diff options
Diffstat (limited to 'sc/source/ui/app/scmod.cxx')
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 38fc9ecb3002..8506f120093e 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -1327,7 +1327,8 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) // Re-compile cells with name error, and recalc if at least one cell // has been re-compiled. In the future we may want to find a way to // recalc only those that are affected. - bCalcAll = pDoc->CompileErrorCells(ScErrorCodes::errNoName); + if (pDoc->CompileErrorCells(ScErrorCodes::errNoName)) + bCalcAll = true; } if ( pDoc && bCalcAll ) |