From 08706f37737a2b5c92ef3c6e492b152e75fcd11b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 24 Jan 2013 16:08:10 +0000 Subject: restore the helpid for impress animation dialog after initialization Document and centralize the uses of undoing the helpid clear after helpid->uniqueid hack Change-Id: I4e651235407a0eca26dc0acfc089ef8f8ce57b13 --- formula/source/ui/dlg/formula.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'formula') diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index dc58a5a6310b..f76feaad5517 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -1744,9 +1744,8 @@ FormulaDlg::FormulaDlg( SfxBindings* pB, SfxChildWindow* pCW, , this, _pFunctionMgr, _pDlg)) { FreeResource(); - if(GetHelpId().isEmpty()) //Hack which hides the HelpId for a model Dialog in SfxModelessDialog - SetHelpId(GetUniqueId()); //and will be changed in a UniqueId, - //at this point we reverse it. + //undo SfxModelessDialog HelpId clear hack + reverseUniqueHelpIdHack(*this); SetText(m_pImpl->aTitle1); } -- cgit