summaryrefslogtreecommitdiff
path: root/starmath/source/parse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r--starmath/source/parse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 5bb152f68607..8bd06070c268 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1008,7 +1008,7 @@ void SmParser::NextTokenColor(bool dvipload)
sal_Int32 n = aRes.EndPos - nRealStart;
assert(n >= 0);
OUString aName( m_aBufferString.copy( nRealStart, n ) );
- std::unique_ptr<SmColorTokenTableEntry> aSmColorTokenTableEntry;
+ const SmColorTokenTableEntry* aSmColorTokenTableEntry;
if(dvipload) aSmColorTokenTableEntry = starmathdatabase::Identify_ColorName_DVIPSNAMES( aName );
else aSmColorTokenTableEntry = starmathdatabase::Identify_ColorName_Parser( aName );
m_aCurToken = aSmColorTokenTableEntry;