summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 65d0e1e54d62..32ab60c49776 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -1535,9 +1535,8 @@ IMPL_LINK(SfxTabDialogController, DeactivatePageHdl, const OString&, rPage, bool
}
VclPtr<SfxTabPage> pPage = pDataObject->pTabPage;
- DBG_ASSERT( pPage, "no active Page" );
if (!pPage)
- return false;
+ return true;
DeactivateRC nRet = DeactivateRC::LeavePage;