summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-12-18 12:25:54 +0100
committerEike Rathke <erack@redhat.com>2015-12-18 12:39:52 +0100
commit8217ddbfc863dd9b313d6b5eaecb1877e42b2d02 (patch)
tree1d41a1f232d11cf0cc1743e8dc7567f6d7ca9c4f /formula
parentdfa979ffe51b32297f45faa037584074173682e5 (diff)
tdf#96366 disable treeview results until fix available
Since f82d89f35207fc1cfc00ad5cd914b74c55c3e3d2 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
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/formula.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index 0448045e1374..3c1523cdfcc0 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -695,6 +695,8 @@ void FormulaDlg_Impl::MakeTree(StructPage* _pTree,SvTreeListEntry* pParent,Formu
if (bCalcSubformula)
{
+/* FIXME: tdf#96366 this simply does not work, disable until solved. */
+#if 0
OUString aStr;
OUString aEquals(" = ");
@@ -717,6 +719,7 @@ void FormulaDlg_Impl::MakeTree(StructPage* _pTree,SvTreeListEntry* pParent,Formu
m_pWndResult->SetText( aStr );
aStr = m_pWndResult->GetText();
pStructPage->GetTlbStruct()->SetEntryText(pEntry,aResult + aEquals + aStr);
+#endif
}
--Count;