diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-07-02 15:30:16 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-07-04 02:02:52 +0000 |
commit | bb01a3536d6446864f81a81b626461f8defe5da3 (patch) | |
tree | 8bc378cb61c5f20f55b8b62e21be9c6919051f8b /starmath | |
parent | 147bf38036e1b8d140519ed8687018471e222eff (diff) |
starmath: Drop unused definition
Change-Id: Ifb91d3a913d6fe3f92ef93bd0e25b8c6152727f3
Reviewed-on: https://gerrit.libreoffice.org/26872
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/node.hxx | 2 | ||||
-rw-r--r-- | starmath/source/node.cxx | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index c93c978feaa2..215fded9f860 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 a8ae9e88339a..1b32cf93bb91 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(); |