diff options
-rw-r--r-- | sw/source/ui/shells/textsh1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/shells/textsh1.cxx b/sw/source/ui/shells/textsh1.cxx index 7cbe020572f3..b346e8856bba 100644 --- a/sw/source/ui/shells/textsh1.cxx +++ b/sw/source/ui/shells/textsh1.cxx @@ -177,7 +177,7 @@ void sw_CharDialog( SwWrtShell &rWrtSh, bool bUseDialog, sal_uInt16 nSlot,const if( FN_INSERT_HYPERLINK == nSlot ) pDlg->SetCurPageId("hyperlink"); } - if (nSlot == SID_CHAR_DLG_EFFECT) + if (pDlg && nSlot == SID_CHAR_DLG_EFFECT) { pDlg->SetCurPageId("fonteffect"); } |