diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 09:31:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 09:31:58 +0100 |
commit | 0d0fd7b4fbc6090fe7112eef8b2b07840cf8a89d (patch) | |
tree | 5325634108de1bc065273fb7d1cd3d57a4ef675e /svx | |
parent | 06272f678b54e99757c89419acfdc9217c88abd7 (diff) |
PrepareClose should probably return bool
Change-Id: Ie62a6c1197594102bc68e246ae6059a9442ce314
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmshell.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index c897ed5af603..958a58f39155 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -247,13 +247,13 @@ void FmFormShell::NotifyMarkListChanged(FmFormView* pWhichView) } //------------------------------------------------------------------------ -sal_uInt16 FmFormShell::PrepareClose(sal_Bool bUI, sal_Bool /*bForBrowsing*/) +bool FmFormShell::PrepareClose(sal_Bool bUI, sal_Bool /*bForBrowsing*/) { if ( GetImpl()->didPrepareClose() ) // we already did a PrepareClose for the current modifications of the current form - return sal_True; + return true; - sal_Bool bResult = sal_True; + bool bResult = true; // Save the data records, not in DesignMode and FilterMode if (!m_bDesignMode && !GetImpl()->isInFilterMode() && m_pFormView && m_pFormView->GetActualOutDev() && @@ -286,7 +286,7 @@ sal_uInt16 FmFormShell::PrepareClose(sal_Bool bUI, sal_Bool /*bForBrowsing*/) break; case RET_CANCEL: - return sal_False; + return false; } if ( bModified ) |