diff options
author | Eike Rathke <erack@redhat.com> | 2014-08-21 23:14:52 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-08-22 01:12:18 +0200 |
commit | c0aba5007b6e468336b41138f099914c32f4b0cf (patch) | |
tree | 79e6f7269b07ada5ae1ee1d5579178aa7dd30506 /formula | |
parent | 07b18860ae03ecb66b5605201f34c2aef3a55ad6 (diff) |
fdo#82183 do not reset globals while loading a document
Destroying the function list while an instance of the Formula Wizard is
still open is a bad idea. Workaround not doing this when loading a
document due to a DDE function or external reference being entered in
the wizard.
Change-Id: I6fa00fb4f442bf7c9410679e446ff460289e4b16
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 33775657cfcd..5a2710ce3208 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -1831,7 +1831,7 @@ void FormulaDlg::StoreFormEditData(FormEditData* pData) const IFunctionDescription* FormulaDlg::getCurrentFunctionDescription() const { - OSL_VERIFY(!m_pImpl->pFuncDesc || m_pImpl->pFuncDesc->getSuppressedArgumentCount() == m_pImpl->nArgs); + //OSL_VERIFY(!m_pImpl->pFuncDesc || m_pImpl->pFuncDesc->getSuppressedArgumentCount() == m_pImpl->nArgs); return m_pImpl->pFuncDesc; } |