diff options
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index e724f6811ac3..140b52510c0b 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -2539,11 +2539,11 @@ bool ScDocShell::PrepareClose( bool bUI ) } // end handler code - bool nRet = SfxObjectShell::PrepareClose( bUI ); - if (nRet) // true == close + bool bRet = SfxObjectShell::PrepareClose( bUI ); + if (bRet) // true == close aDocument.EnableIdle(false); // Do not mess around with it anymore! - return nRet; + return bRet; } void ScDocShell::PrepareReload() |