summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2018-02-14 22:08:37 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2018-02-15 11:13:52 +0100
commitabcd7825101afb9ef9ff93932f8e1bd7c3bb91bb (patch)
treefabc5ff05ba53261c71ee7ab68ff79f3a935dae8 /starmath/inc
parent1c8efde4daea648204e3ba19f8edc01ef3e548bd (diff)
starmath: Prefer moving subnodes to copying them
Change-Id: Id92dd0715daf43a63d09529f01a6583c23de7c7d Reviewed-on: https://gerrit.libreoffice.org/49725 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/node.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index 01423959652b..f4d90b9ada05 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -235,8 +235,9 @@ public:
using SmNode::GetSubNode;
virtual SmNode * GetSubNode(size_t nIndex) override;
+ void ClearSubNodes();
void SetSubNodes(SmNode *pFirst, SmNode *pSecond, SmNode *pThird = nullptr);
- void SetSubNodes(const SmNodeArray &rNodeArray);
+ void SetSubNodes(SmNodeArray&& rNodeArray);
virtual void GetAccessibleText( OUStringBuffer &rText ) const override;