diff options
Diffstat (limited to 'sfx2/source/view/frame.cxx')
-rw-r--r-- | sfx2/source/view/frame.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx index 9bee390c7f6f..760cf75b6049 100644 --- a/sfx2/source/view/frame.cxx +++ b/sfx2/source/view/frame.cxx @@ -123,7 +123,7 @@ bool SfxFrame::DoClose() try { Reference< XCloseable > xCloseable ( pImpl->xFrame, UNO_QUERY ); - if ( (!GetCurrentDocument() || !GetCurrentDocument()->Get_Impl()->bDisposing ) && xCloseable.is()) + if (xCloseable.is()) xCloseable->close(true); else if ( pImpl->xFrame.is() ) { |