diff options
Diffstat (limited to 'sd/source/ui/view/ViewShellBase.cxx')
-rw-r--r-- | sd/source/ui/view/ViewShellBase.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index 7da0c4c5483a..6c4e4041eda6 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -748,19 +748,19 @@ void ViewShellBase::SetZoomFactor ( bool ViewShellBase::PrepareClose (bool bUI) { - bool nResult = SfxViewShell::PrepareClose (bUI); + bool bResult = SfxViewShell::PrepareClose (bUI); - if (nResult) + if (bResult) { mpImpl->mbIsClosing = true; // Forward call to main sub shell. ViewShell* pShell = GetMainViewShell().get(); if (pShell != NULL) - nResult = pShell->PrepareClose (bUI); + bResult = pShell->PrepareClose (bUI); } - return nResult; + return bResult; } void ViewShellBase::WriteUserData (OUString& rString, bool bBrowse) |