summaryrefslogtreecommitdiffstats
path: root/starmath/source/node.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r--starmath/source/node.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index b7a138e2da9b..d44845411267 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2097,7 +2097,7 @@ void SmTextNode::CreateTextFromNode(OUString &rText)
else
{
SmParser aParseTest;
- std::unique_ptr<SmTableNode> pTable(aParseTest.Parse(GetToken().aText));
+ auto pTable = aParseTest.Parse(GetToken().aText);
assert(pTable->GetType() == SmNodeType::Table);
bQuoted=true;
if (pTable->GetNumSubNodes() == 1)