starmath/inc/node.hxx | 2 +- starmath/source/node.cxx | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-)
New commits: commit bb01a3536d6446864f81a81b626461f8defe5da3 Author: Takeshi Abe <[email protected]> Date: Sat Jul 2 15:30:16 2016 +0900 starmath: Drop unused definition Change-Id: Ifb91d3a913d6fe3f92ef93bd0e25b8c6152727f3 Reviewed-on: https://gerrit.libreoffice.org/26872 Tested-by: Jenkins <[email protected]> Reviewed-by: Takeshi Abe <[email protected]> diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index c93c978..215fded 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -168,7 +168,7 @@ public: void Move(const Point &rPosition); void MoveTo(const Point &rPosition) { Move(rPosition - GetTopLeft()); } - virtual void Arrange(OutputDevice &rDev, const SmFormat &rFormat); + virtual void Arrange(OutputDevice &rDev, const SmFormat &rFormat) = 0; virtual void CreateTextFromNode(OUString &rText); virtual void GetAccessibleText( OUStringBuffer &rText ) const = 0; diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index a8ae9e8..1b32cf9 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -252,11 +252,6 @@ void SmNode::Move(const Point& rPosition) } -void SmNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat) -{ - ForEachNonNull(this, [&rDev, &rFormat](SmNode *pNode){pNode->Arrange(rDev, rFormat);}); -} - void SmNode::CreateTextFromNode(OUString &rText) { sal_uInt16 nSize = GetNumSubNodes(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
