summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2001-08-14 15:04:47 +0000
committerjp <jp@openoffice.org>2001-08-14 15:04:47 +0000
commit23ed1f2c30d8a615c51614f448782a7c894c3892 (patch)
treecadcdb1c2b91c183590abc80408fc3f2775b6863
parent698dcd6b34961ebee0e37bdbd080119faad8113c (diff)
Bug #91008#: uset GetSOLoadText encoding for the fontencoding
-rw-r--r--svx/source/items/textitem.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/svx/source/items/textitem.cxx b/svx/source/items/textitem.cxx
index 49850ed454e2..9311c48db443 100644
--- a/svx/source/items/textitem.cxx
+++ b/svx/source/items/textitem.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: textitem.cxx,v $
*
- * $Revision: 1.42 $
+ * $Revision: 1.43 $
*
- * last change: $Author: aw $ $Date: 2001-08-06 08:31:17 $
+ * last change: $Author: jp $ $Date: 2001-08-14 16:04:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -501,6 +501,9 @@ SfxPoolItem* SvxFontItem::Create(SvStream& rStrm, USHORT) const
// UNICODE: rStrm >> aStyle;
rStrm.ReadByteString(aStyle);
+ // Task 91008/90471: set the "correct" textencoding
+ eFontTextEncoding = GetSOLoadTextEncoding( eFontTextEncoding,
+ rStrm.GetVersion() );
// irgendwann wandelte sich der StarBats vom ANSI- zum SYMBOL-Font
if ( RTL_TEXTENCODING_SYMBOL != eFontTextEncoding && aName.EqualsAscii("StarBats") )
eFontTextEncoding = RTL_TEXTENCODING_SYMBOL;