Kaydet (Commit) 6e80c6b9 authored tarafından Eike Rathke's avatar Eike Rathke

tdf#96366 disable treeview results until fix available

Since f82d89f3 EditThisFunc() and
EditNextFunc() are used to iterate through the formula to obtain
expression results to display in the treeview. Calling the Edit...()
functions spoils about everything as it messes around with the edit
state. As the name suggests..

Change-Id: I8b35d85b7bbf8821b5a995e84f9dd88a0f6f00b9
(cherry picked from commit 8217ddbf)
üst 1ea4a61d
...@@ -695,6 +695,8 @@ void FormulaDlg_Impl::MakeTree(StructPage* _pTree,SvTreeListEntry* pParent,Formu ...@@ -695,6 +695,8 @@ void FormulaDlg_Impl::MakeTree(StructPage* _pTree,SvTreeListEntry* pParent,Formu
if (bCalcSubformula) if (bCalcSubformula)
{ {
/* FIXME: tdf#96366 this simply does not work, disable until solved. */
#if 0
OUString aStr; OUString aStr;
OUString aEquals(" = "); OUString aEquals(" = ");
...@@ -717,6 +719,7 @@ void FormulaDlg_Impl::MakeTree(StructPage* _pTree,SvTreeListEntry* pParent,Formu ...@@ -717,6 +719,7 @@ void FormulaDlg_Impl::MakeTree(StructPage* _pTree,SvTreeListEntry* pParent,Formu
m_pWndResult->SetText( aStr ); m_pWndResult->SetText( aStr );
aStr = m_pWndResult->GetText(); aStr = m_pWndResult->GetText();
pStructPage->GetTlbStruct()->SetEntryText(pEntry,aResult + aEquals + aStr); pStructPage->GetTlbStruct()->SetEntryText(pEntry,aResult + aEquals + aStr);
#endif
} }
--Count; --Count;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment