diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-02-20 00:17:30 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-22 17:27:53 +0000 |
commit | bb5fa449378d6535932d39f2357c06e181647346 (patch) | |
tree | a6bb8252b2672e6a3edf42e0a7e8caeb9a19b247 /sc/source/ui/view/tabview4.cxx | |
parent | 6119e15c8b2b19c6ea3c271fb1c9d7e047902e77 (diff) |
fdo#38838 search replace for String::CreateFromInt32().
I ran the following code replace:
s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/
Change-Id: I45edaec4de2481ad45f9bcae2e280d5aca487714
Reviewed-on: https://gerrit.libreoffice.org/2281
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/source/ui/view/tabview4.cxx')
-rw-r--r-- | sc/source/ui/view/tabview4.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabview4.cxx b/sc/source/ui/view/tabview4.cxx index 07f96f2fee30..2586b9f4b209 100644 --- a/sc/source/ui/view/tabview4.cxx +++ b/sc/source/ui/view/tabview4.cxx @@ -68,9 +68,9 @@ void ScTabView::ShowRefTip() String aHelp = ScGlobal::GetRscString( STR_QUICKHELP_REF ); aHelp.SearchAndReplace( rtl::OUString("%1"), - String::CreateFromInt32(nRows) ); + OUString::number(nRows) ); aHelp.SearchAndReplace( rtl::OUString("%2"), - String::CreateFromInt32(nCols) ); + OUString::number(nCols) ); ScSplitPos eWhich = aViewData.GetActivePart(); Window* pWin = pGridWin[eWhich]; @@ -264,9 +264,9 @@ void ScTabView::UpdateRef( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ ) SCCOL nCols = nEndX + 1 - aViewData.GetRefStartX(); // Reihenfolge ist richtig SCROW nRows = nEndY + 1 - aViewData.GetRefStartY(); aHelpStr.SearchAndReplace( rtl::OUString("%1"), - String::CreateFromInt32(nRows) ); + OUString::number(nRows) ); aHelpStr.SearchAndReplace( rtl::OUString("%2"), - String::CreateFromInt32(nCols) ); + OUString::number(nCols) ); } else if ( aViewData.GetDelMark( aDelRange ) ) aHelpStr = ScGlobal::GetRscString( STR_QUICKHELP_DELETE ); |