summaryrefslogtreecommitdiff
path: root/starmath/source/node.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r--starmath/source/node.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 9e6681010e51..f8a7ae1a25ce 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2367,13 +2367,8 @@ void SmTextNode::CreateTextFromNode(OUString &rText)
(pResult->GetNumSubNodes() == 1) )
{
pResult = pResult->GetSubNode(0);
- if ( (pResult->GetType() == NEXPRESSION) &&
- (pResult->GetNumSubNodes() == 1) )
- {
- pResult = pResult->GetSubNode(0);
- if (pResult->GetType() == NTEXT)
- bQuoted=false;
- }
+ if (pResult->GetType() == NTEXT)
+ bQuoted=false;
}
}
delete pTable;