diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-02-20 00:21:37 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-24 12:59:02 +0000 |
commit | 63b0ce97ba0f71c28a7880c741100b0240332e74 (patch) | |
tree | 9589db9bb4fd6e27acd750a549f7df71a169b928 /sfx2/source/dialog/splitwin.cxx | |
parent | 3648c3226d369ce7a547e48f824b876180559476 (diff) |
fdo#38838 searched, replaced and removed String::CreateFromInt32().
I ran the following code replace:
s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/
And finally removed String::CreateFromInt32().
Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5
Reviewed-on: https://gerrit.libreoffice.org/2279
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sfx2/source/dialog/splitwin.cxx')
-rw-r--r-- | sfx2/source/dialog/splitwin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index a865280c1017..e5b08586cc97 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -233,7 +233,7 @@ SfxSplitWindow::SfxSplitWindow( Window* pParent, SfxChildAlignment eAl, { // Read Configuration String aWindowId = rtl::OUString("SplitWindow"); - aWindowId += String::CreateFromInt32( (sal_Int32) eTbxAlign ); + aWindowId += OUString::number( (sal_Int32) eTbxAlign ); SvtViewOptions aWinOpt( E_WINDOW, aWindowId ); String aWinData; Any aUserItem = aWinOpt.GetUserItem( USERITEM_NAME ); @@ -336,7 +336,7 @@ void SfxSplitWindow::SaveConfig_Impl() } String aWindowId = rtl::OUString("SplitWindow"); - aWindowId += String::CreateFromInt32( (sal_Int32) GetAlign() ); + aWindowId += OUString::number( (sal_Int32) GetAlign() ); SvtViewOptions aWinOpt( E_WINDOW, aWindowId ); aWinOpt.SetUserItem( USERITEM_NAME, makeAny( aWinData.makeStringAndClear() ) ); } |