diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/attrdlg/attrdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/attrdlg/attrdlg.cxx b/sc/source/ui/attrdlg/attrdlg.cxx index e09a69b5c13f..7bd79468d27d 100644 --- a/sc/source/ui/attrdlg/attrdlg.cxx +++ b/sc/source/ui/attrdlg/attrdlg.cxx @@ -89,7 +89,7 @@ void ScAttrDlg::PageCreated(const OUString& rPageId, SfxTabPage& rTabPage) else if (rPageId == "font" && pDocSh) { const SfxPoolItem* pInfoItem = pDocSh->GetItem( SID_ATTR_CHAR_FONTLIST ); - assert(pInfoItem && "FontListItem not found :-("); + SAL_WARN_IF(!pInfoItem, "sc.ui", "we should have a FontListItem normally here"); if (pInfoItem) { aSet.Put (SvxFontListItem(static_cast<const SvxFontListItem*>(pInfoItem)->GetFontList(), SID_ATTR_CHAR_FONTLIST )); |