summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-06-24 20:08:29 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-06-25 09:09:51 +0000
commit3fd21b123fb2338b9f1ed0b483a86ae878a6d769 (patch)
tree7052bff511a63a034a9515e32068f7e2594324a5
parent02f43b0ad3865ef7af17fe51bc87680ffe881dc0 (diff)
starmath: Remove unused definition
Change-Id: I46674e606ad7ef586597c926a21dd745ee762011 Reviewed-on: https://gerrit.libreoffice.org/26634 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
-rw-r--r--starmath/inc/node.hxx2
-rw-r--r--starmath/source/node.cxx6
2 files changed, 1 insertions, 7 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index f6f684d60fcf..7d9b0df6f934 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -130,7 +130,7 @@ public:
virtual bool IsVisible() const;
virtual sal_uInt16 GetNumSubNodes() const;
- virtual SmNode * GetSubNode(sal_uInt16 nIndex);
+ virtual SmNode * GetSubNode(sal_uInt16 nIndex) = 0;
const SmNode * GetSubNode(sal_uInt16 nIndex) const
{
return const_cast<SmNode *>(this)->GetSubNode(nIndex);
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index ed064400e6fe..eb3224a05b30 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -88,12 +88,6 @@ sal_uInt16 SmNode::GetNumSubNodes() const
}
-SmNode * SmNode::GetSubNode(sal_uInt16 /*nIndex*/)
-{
- return nullptr;
-}
-
-
const SmNode * SmNode::GetLeftMost() const
// returns leftmost node of current subtree.
//! (this assumes the one with index 0 is always the leftmost subnode