starmath/inc/node.hxx    |    2 +-
 starmath/source/node.cxx |    6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)

New commits:
commit 3fd21b123fb2338b9f1ed0b483a86ae878a6d769
Author: Takeshi Abe <[email protected]>
Date:   Fri Jun 24 20:08:29 2016 +0900

    starmath: Remove unused definition
    
    Change-Id: I46674e606ad7ef586597c926a21dd745ee762011
    Reviewed-on: https://gerrit.libreoffice.org/26634
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Takeshi Abe <[email protected]>

diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index f6f684d..7d9b0df 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 ed06440..eb3224a 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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to