diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:36:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:36:13 +0100 |
commit | 61f168d98750549107a65e846fbe5c49f277295e (patch) | |
tree | 0748b88eefa9bb49285270ac5a7bbce3d10b4ef6 /starmath | |
parent | 4f76e46290b26deeb4f9660c580a5ffef58a557e (diff) |
Add SvStream::ReadUtf16 (don't assume sal_Unicode is unsigned short)
Change-Id: I74f34e3389582617fa83f8f4a3d6867cf87189e1
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathtype.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 804de7278daf..9cc65c08500c 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -2867,7 +2867,7 @@ int MathType::HandleChar(sal_Int32 &rTextStart,int &rSetSize,int nLevel, nChar = nChar8; } else - pS->ReadUInt16( nChar ); + pS->ReadUtf16( nChar ); /* bad character, old mathtype < 3 has these |