summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/view/tabview3.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-14 09:31:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-14 09:31:58 +0100
commit0d0fd7b4fbc6090fe7112eef8b2b07840cf8a89d (patch)
tree5325634108de1bc065273fb7d1cd3d57a4ef675e /sc/source/ui/view/tabview3.cxx
parentCopy the built .apks to where push_nightlies.sh will find them for uploading (diff)
downloadcore-0d0fd7b4fbc6090fe7112eef8b2b07840cf8a89d.tar.gz
core-0d0fd7b4fbc6090fe7112eef8b2b07840cf8a89d.zip
PrepareClose should probably return bool
Change-Id: Ie62a6c1197594102bc68e246ae6059a9442ce314
Diffstat (limited to 'sc/source/ui/view/tabview3.cxx')
-rw-r--r--sc/source/ui/view/tabview3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index a3aec35e712e..5e591ef23cef 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -1551,7 +1551,7 @@ void ScTabView::SetTabNo( SCTAB nTab, bool bNew, bool bExtendSelection, bool bSa
FmFormShell* pFormSh = aViewData.GetViewShell()->GetFormShell();
if (pFormSh)
{
- bool bAllowed = static_cast<bool>(pFormSh->PrepareClose(true));
+ bool bAllowed = pFormSh->PrepareClose(true);
if (!bAllowed)
{
//! Fehlermeldung? oder macht das die FormShell selber?