summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-02-22 13:44:31 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-03-03 08:46:40 +0000
commitad82b7bac267f1680ba869f5f0d46202d09cbeea (patch)
tree14cd0b61b971aebf812d817dcfeda6e419622312 /starmath/source/view.cxx
parent0ba96ffcd8ee2296b5a30451a9310b5b097df514 (diff)
starmath: Drop ENABLE_DEBUG_DUMPASDOT feature
The feature for debugging seems unused so long that defining ENABLE_DEBUG_DUMPASDOT breaks the build but no one complains. So let's ditch it. Change-Id: I0b472cd1acbcfd0c2550c3bd36661c91bc2e2986 Reviewed-on: https://gerrit.libreoffice.org/22608 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 28084483f083..7d6eb4f31ed4 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -467,15 +467,6 @@ void SmGraphicWindow::KeyInput(const KeyEvent& rKEvt)
{
if(!rKEvt.GetKeyCode().IsShift())
rCursor.InsertRow();
-#ifdef DEBUG_ENABLE_DUMPASDOT
- else {
- SmNode *pTree = (SmNode*)pViewShell->GetDoc()->GetFormulaTree();
- std::fstream file("/tmp/smath-dump.gv", std::fstream::out);
- OUString label(pViewShell->GetDoc()->GetText());
- pTree->DumpAsDot(file, &label);
- file.close();
- }
-#endif /* DEBUG_ENABLE_DUMPASDOT */
}break;
case KEY_DELETE:
{