diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-24 16:08:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-24 16:10:30 +0000 |
commit | 08706f37737a2b5c92ef3c6e492b152e75fcd11b (patch) | |
tree | 1dbc6380c671f0c794a554c072b5cd433542f023 /formula | |
parent | eeecaf597ae2fb45ab575fd6aab5fcbe3428c033 (diff) |
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
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
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); } |