summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwsh4.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-17 17:09:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-17 18:45:15 +0100
commita2b1afaf88c2416f398a57cae1c5b18325993a47 (patch)
tree5807ae2dbfd37ada00a1eb22976dee8a7663372b /sc/source/ui/view/tabvwsh4.cxx
parent59a5ccb952a54f80d1de7fdbc9a52e692e3faaab (diff)
bool improvements
Change-Id: Ib7c2e846885812b5352b06d568d62f744a3c07c4
Diffstat (limited to 'sc/source/ui/view/tabvwsh4.cxx')
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index 601868432158..150e4b3f7a38 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -303,8 +303,8 @@ bool ScTabViewShell::PrepareClose(sal_Bool bUI)
if ( pFormShell )
{
- sal_uInt16 nRet = pFormShell->PrepareClose(bUI);
- if (nRet!=sal_True)
+ bool nRet = pFormShell->PrepareClose(bUI);
+ if (!nRet)
return nRet;
}
return SfxViewShell::PrepareClose(bUI);