summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwsh4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwsh4.cxx')
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index 11a6d05ec143..408687ae31a7 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -304,9 +304,9 @@ bool ScTabViewShell::PrepareClose(bool bUI)
if ( pFormShell )
{
- bool nRet = pFormShell->PrepareClose(bUI);
- if (!nRet)
- return nRet;
+ bool bRet = pFormShell->PrepareClose(bUI);
+ if (!bRet)
+ return bRet;
}
return SfxViewShell::PrepareClose(bUI);
}