diff options
author | Kurt Zenker <kz@openoffice.org> | 2010-05-21 16:13:20 +0200 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2010-05-21 16:13:20 +0200 |
commit | f98601b66a4bdfea70771cac44eb8f45faf70e33 (patch) | |
tree | 0bcef7751aea4e47f3106a0981cee6b2cc421540 /oox/source/drawingml/textfont.cxx | |
parent | e12896d4e2571451e2453d3b14a7e24f7371a4a4 (diff) | |
parent | 83354fbd6ef66db25643b1fe9ab30c45550a5a58 (diff) |
CWS-TOOLING: integrate CWS npower13_objectmodules
Notes
split repo tag: filters_ooo/DEV300_m79
Diffstat (limited to 'oox/source/drawingml/textfont.cxx')
-rw-r--r-- | oox/source/drawingml/textfont.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/textfont.cxx b/oox/source/drawingml/textfont.cxx index f20c9b53511b..8d58787e544a 100644 --- a/oox/source/drawingml/textfont.cxx +++ b/oox/source/drawingml/textfont.cxx @@ -63,7 +63,7 @@ sal_Int16 lclGetFontFamily( sal_Int32 nOoxValue ) TextFont::TextFont() : mnPitch( 0 ), - mnCharset( 0 ) + mnCharset( WINDOWS_CHARSET_ANSI ) { } @@ -72,7 +72,7 @@ void TextFont::setAttributes( const AttributeList& rAttribs ) maTypeface = rAttribs.getString( XML_typeface, OUString() ); maPanose = rAttribs.getString( XML_panose, OUString() ); mnPitch = rAttribs.getInteger( XML_pitchFamily, 0 ); - mnCharset = rAttribs.getInteger( XML_charset, 1 ); + mnCharset = rAttribs.getInteger( XML_charset, WINDOWS_CHARSET_DEFAULT ); } void TextFont::assignIfUsed( const TextFont& rTextFont ) |