summaryrefslogtreecommitdiff
path: root/starmath/inc/node.hxx
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/inc/node.hxx
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/inc/node.hxx')
-rw-r--r--starmath/inc/node.hxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index bd30531e06d7..b4e5b1db317a 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -186,16 +186,6 @@ public:
bool IsSelected() const {return mbIsSelected;}
void SetSelected(bool Selected = true) {mbIsSelected = Selected;}
-#ifdef DEBUG_ENABLE_DUMPASDOT
- /** The tree as dot graph for graphviz, usable for debugging
- * Convert the output to a image using $ dot graph.gv -Tpng > graph.png
- */
- inline void DumpAsDot(std::ostream &out, OUString* label = NULL) const{
- int id = 0;
- DumpAsDot(out, label, -1, id, -1);
- }
-#endif /* DEBUG_ENABLE_DUMPASDOT */
-
/** Get the parent node of this node */
SmStructureNode* GetParent(){ return mpParentNode; }
const SmStructureNode* GetParent() const { return mpParentNode; }