diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-08-03 11:29:55 +0200 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-08-03 11:29:55 +0200 |
commit | 889d495cbf51e32db8e7d9e47a245235ada1590b (patch) | |
tree | a6769eac2b4530bdba5ae2327ff04c12a0213eec /starmath/inc/symbol.hxx | |
parent | 3ed4c287784b42bb8ff26bcdcff1b13734815495 (diff) |
cws tl82: #i74049# math symbols should be able to handle 20 bit Unicode characters (surrogates)
Diffstat (limited to 'starmath/inc/symbol.hxx')
-rw-r--r-- | starmath/inc/symbol.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx index 503859485095..a3f3cc3c4c0d 100644 --- a/starmath/inc/symbol.hxx +++ b/starmath/inc/symbol.hxx @@ -79,24 +79,24 @@ class SmSym String m_aName; String m_aExportName; String m_aSetName; - sal_Unicode m_cChar; + sal_UCS4 m_cChar; BOOL m_bPredefined; BOOL m_bDocSymbol; public: SmSym(); - SmSym(const String& rName, const Font& rFont, sal_Unicode cChar, + SmSym(const String& rName, const Font& rFont, sal_UCS4 cChar, const String& rSet, BOOL bIsPredefined = FALSE); SmSym(const SmSym& rSymbol); SmSym& operator = (const SmSym& rSymbol); const Font& GetFace() const { return m_aFace; } - sal_Unicode GetCharacter() const { return m_cChar; } + sal_UCS4 GetCharacter() const { return m_cChar; } const String& GetName() const { return m_aName; } void SetFace( const Font& rFont ) { m_aFace = rFont; } - void SetCharacter( sal_Unicode cChar ) { m_cChar = cChar; } + void SetCharacter( sal_UCS4 cChar ) { m_cChar = cChar; } //! since the symbol name is also used as key in the map it should not be possible to change the name //! because ten the key would not be the same as its supposed copy here |