summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview4.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-28 12:18:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-28 13:53:36 +0100
commitba23ece286671f8f9b5baf245239996e1e1fabdb (patch)
tree7314f9c83e9c92a72563856459c4a217fc42227e /sc/source/ui/view/tabview4.cxx
parent2ee701afd333ef01bc5d4f62543aaf0f5ac5ed3c (diff)
probably the last uses of the one argument String::CreateFromAscii variant
Change-Id: I36aab317da2f69f12aaefc24895ad9eaa6b69a7c
Diffstat (limited to 'sc/source/ui/view/tabview4.cxx')
-rw-r--r--sc/source/ui/view/tabview4.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabview4.cxx b/sc/source/ui/view/tabview4.cxx
index 90d15317a1d4..fe36239421c0 100644
--- a/sc/source/ui/view/tabview4.cxx
+++ b/sc/source/ui/view/tabview4.cxx
@@ -76,9 +76,9 @@ void ScTabView::ShowRefTip()
SCROW nRows = nEndY+1-nStartY;
String aHelp = ScGlobal::GetRscString( STR_QUICKHELP_REF );
- aHelp.SearchAndReplace( String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("%1")),
+ aHelp.SearchAndReplace( rtl::OUString("%1"),
String::CreateFromInt32(nRows) );
- aHelp.SearchAndReplace( String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("%2")),
+ aHelp.SearchAndReplace( rtl::OUString("%2"),
String::CreateFromInt32(nCols) );
ScSplitPos eWhich = aViewData.GetActivePart();
@@ -272,9 +272,9 @@ void ScTabView::UpdateRef( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ )
aHelpStr = ScGlobal::GetRscString( STR_TIP_RESIZEMATRIX );
SCCOL nCols = nEndX + 1 - aViewData.GetRefStartX(); // Reihenfolge ist richtig
SCROW nRows = nEndY + 1 - aViewData.GetRefStartY();
- aHelpStr.SearchAndReplace( String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("%1")),
+ aHelpStr.SearchAndReplace( rtl::OUString("%1"),
String::CreateFromInt32(nRows) );
- aHelpStr.SearchAndReplace( String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("%2")),
+ aHelpStr.SearchAndReplace( rtl::OUString("%2"),
String::CreateFromInt32(nCols) );
}
else if ( aViewData.GetDelMark( aDelRange ) )