diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-01-20 10:51:58 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-22 14:25:15 +0000 |
commit | e13a3d566ecc34a46e037aca1b2d70e58501e422 (patch) | |
tree | ea7c6a3633a7a9ac33375a8e157ece0befe2e4a4 /cui/source/dialogs/iconcdlg.cxx | |
parent | df70e3fee18835303cff17294b1fd21b6dd9146e (diff) |
fdo#38838 Some removal/replacement of the String/UniString with OUString
Also used the new OUString::number(...) methods.
Change-Id: I3174c43d56d1ae359901bb8a13fe0096f2c74808
Reviewed-on: https://gerrit.libreoffice.org/1766
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'cui/source/dialogs/iconcdlg.cxx')
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index 522ae5013763..8c6feb08d268 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -253,7 +253,7 @@ IconChoiceDialog ::~IconChoiceDialog () { // save configuration at INI-Manager // and remove pages - SvtViewOptions aTabDlgOpt( E_TABDIALOG, String::CreateFromInt32( nResId ) ); + SvtViewOptions aTabDlgOpt( E_TABDIALOG, OUString::number(nResId) ); aTabDlgOpt.SetWindowState(::rtl::OStringToOUString(GetWindowState((WINDOWSTATE_MASK_X | WINDOWSTATE_MASK_Y | WINDOWSTATE_MASK_STATE | WINDOWSTATE_MASK_MINIMIZED)), RTL_TEXTENCODING_ASCII_US)); aTabDlgOpt.SetPageID( mnCurrentPageId ); @@ -267,7 +267,7 @@ IconChoiceDialog ::~IconChoiceDialog () String aPageData(pData->pPage->GetUserData()); if ( aPageData.Len() ) { - SvtViewOptions aTabPageOpt( E_TABPAGE, String::CreateFromInt32( pData->nId ) ); + SvtViewOptions aTabPageOpt( E_TABPAGE, OUString::number(pData->nId) ); SetViewOptUserItem( aTabPageOpt, aPageData ); } @@ -736,7 +736,7 @@ void IconChoiceDialog::ActivatePageImpl () else pData->pPage = (pData->fnCreatePage)( this, *CreateInputItemSet( mnCurrentPageId ) ); - SvtViewOptions aTabPageOpt( E_TABPAGE, String::CreateFromInt32( pData->nId ) ); + SvtViewOptions aTabPageOpt( E_TABPAGE, OUString::number(pData->nId) ); pData->pPage->SetUserData( GetViewOptUserItem( aTabPageOpt ) ); SetPosSizePages ( pData->nId ); @@ -998,7 +998,7 @@ void IconChoiceDialog::Start_Impl() nActPage = mnCurrentPageId; // configuration existing? - SvtViewOptions aTabDlgOpt( E_TABDIALOG, String::CreateFromInt32( nResId ) ); + SvtViewOptions aTabDlgOpt( E_TABDIALOG, OUString::number(nResId) ); if ( aTabDlgOpt.Exists() ) { |