summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/chardlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/chardlg.cxx')
-rw-r--r--cui/source/tabpages/chardlg.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 123079ba5cde..9d444d45a3a2 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -3256,15 +3256,12 @@ sal_Bool SvxCharPositionPage::FillItemSet( SfxItemSet& rSet )
void SvxCharPositionPage::FillUserData()
{
- const sal_Unicode cTok = ';';
-
- OUString sUser( OUString::valueOf( static_cast<sal_Int32>(m_nSuperEsc)) );
- sUser += OUString( cTok );
- sUser += OUString::valueOf( static_cast<sal_Int32>(m_nSubEsc) );
- sUser += OUString (cTok );
- sUser += OUString::valueOf( static_cast<sal_Int32>(m_nSuperProp) );
- sUser += OUString ( cTok );
- sUser += OUString::valueOf( static_cast<sal_Int32>(m_nSubProp) );
+ const OUString cTok( ";" );
+
+ OUString sUser = OUString::number( m_nSuperEsc ) + cTok +
+ OUString::number( m_nSubEsc ) + cTok +
+ OUString::number( m_nSuperProp ) + cTok +
+ OUString::number( m_nSubProp );
SetUserData( sUser );
}