summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 773ae341751d..2d5f88d60bf0 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -1103,9 +1103,11 @@ IMPL_LINK( SfxTabDialog, ActivatePageHdl, TabControl *, pTabCtrl )
pDataObject = Find(pImpl->aData, nId);
}
- assert(pDataObject); //Id not known
if (!pDataObject)
+ {
+ SAL_WARN("sfx.config", "Tab Page ID not known, this is pretty serious and needs investigation");
return 0;
+ }
// Create TabPage if possible:
if ( !pTabPage )