summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/docsh2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/docsh2.cxx')
-rw-r--r--sw/source/uibase/app/docsh2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx
index d6919ebb819a..d4fe645099cf 100644
--- a/sw/source/uibase/app/docsh2.cxx
+++ b/sw/source/uibase/app/docsh2.cxx
@@ -316,9 +316,9 @@ void SwDocShell::Notify( SfxBroadcaster&, const SfxHint& rHint )
// Notification Close Doc
bool SwDocShell::PrepareClose( bool bUI )
{
- bool nRet = SfxObjectShell::PrepareClose( bUI );
+ bool bRet = SfxObjectShell::PrepareClose( bUI );
- if( nRet )
+ if( bRet )
EndListening( *this );
if (m_pDoc && IsInPrepareClose())
@@ -332,7 +332,7 @@ bool SwDocShell::PrepareClose( bool bUI )
xVbaEvents->processVbaEvent( DOCUMENT_CLOSE, aArgs );
}
}
- return nRet;
+ return bRet;
}
void SwDocShell::Execute(SfxRequest& rReq)