summaryrefslogtreecommitdiff
path: root/starmath/source/format.cxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-08-08 10:22:18 +0000
committerThomas Lange <tl@openoffice.org>2001-08-08 10:22:18 +0000
commit3e51156023c409d406d4beb66bb35752f5859556 (patch)
treec26c04cd5c435b2ead37ecce6acdf0aa59cb3f6b /starmath/source/format.cxx
parent20b4a36740fdb0ad6c2802eb65a42281b57d5e9f (diff)
#90485# import of formulas stored in 5.0 format with multi-byte encoding fixed
Diffstat (limited to 'starmath/source/format.cxx')
-rw-r--r--starmath/source/format.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/starmath/source/format.cxx b/starmath/source/format.cxx
index 2f86a4819141..fb34f69d10e0 100644
--- a/starmath/source/format.cxx
+++ b/starmath/source/format.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: format.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: tl $ $Date: 2001-05-02 16:58:48 $
+ * last change: $Author: tl $ $Date: 2001-08-08 11:22:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -117,6 +117,8 @@ SmFormat::SmFormat()
vFont[FNT_FIXED] = SmFace(C2S(FNTNAME_COUR), aBaseSize);
vFont[FNT_MATH] = SmFace(C2S(FNTNAME_MATH), aBaseSize);
+ vFont[FNT_MATH].SetCharSet( RTL_TEXTENCODING_UNICODE );
+
vFont[FNT_VARIABLE].SetItalic(ITALIC_NORMAL);
vFont[FNT_FUNCTION].SetItalic(ITALIC_NONE);
vFont[FNT_TEXT].SetItalic(ITALIC_NONE);