summaryrefslogtreecommitdiff
path: root/toolkit/source/helper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-16 08:58:50 +0200
committerNoel Grandin <noel@peralex.com>2013-09-17 09:05:34 +0200
commit5eab9486c325a0d907f6fc382dceb5c47d336b65 (patch)
tree42088887b49353c00306a3469b2d7f1530a10f78 /toolkit/source/helper
parent75be8fd665d1ded3bb71febfc81eb42a4d1b30e3 (diff)
convert TOOLKIT module from String to OUString
Change-Id: Ibc5ffbffa0ddc6a80c3a95406b324cda09f7c9e1
Diffstat (limited to 'toolkit/source/helper')
-rw-r--r--toolkit/source/helper/vclunohelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx
index 5767b27fe185..5c03a72c331c 100644
--- a/toolkit/source/helper/vclunohelper.cxx
+++ b/toolkit/source/helper/vclunohelper.cxx
@@ -340,8 +340,8 @@ Font VCLUnoHelper::CreateFont( const ::com::sun::star::awt::FontDescriptor& rDes
aFont.SetSize( Size( rDescr.Width, rDescr.Height ) );
if ( (FontFamily)rDescr.Family != FAMILY_DONTKNOW )
aFont.SetFamily( (FontFamily)rDescr.Family );
- if ( (CharSet)rDescr.CharSet != RTL_TEXTENCODING_DONTKNOW )
- aFont.SetCharSet( (CharSet)rDescr.CharSet );
+ if ( (rtl_TextEncoding)rDescr.CharSet != RTL_TEXTENCODING_DONTKNOW )
+ aFont.SetCharSet( (rtl_TextEncoding)rDescr.CharSet );
if ( (FontPitch)rDescr.Pitch != PITCH_DONTKNOW )
aFont.SetPitch( (FontPitch)rDescr.Pitch );
if ( rDescr.CharacterWidth )