summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:07:31 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:10:35 +0200
commit64b993e046f23baaacaff1572b7d2a816588b5ef (patch)
tree237dce36a1d4787d168a0520839f6aab22500487 /sd/source/ui/view
parent75f41baab6ce75786a91fe461835ee16a23ec18e (diff)
finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx4
-rw-r--r--sd/source/ui/view/drviewsa.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index 51b0a450b86d..4597e7e9925a 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -210,7 +210,7 @@ namespace {
if (nContent == 2 && // selection
nCurrentPageIndex >= 0)
{
- return OUString::valueOf(nCurrentPageIndex + 1);
+ return OUString::number(nCurrentPageIndex + 1);
}
return OUString();
@@ -640,7 +640,7 @@ namespace {
vcl::PrinterOptionsHelper::UIControlOptions aPageRangeOpt( aPrintRangeName, 1, sal_True );
AddDialogControl(vcl::PrinterOptionsHelper::setEditControlOpt("pagerange", "",
".HelpID:vcl:PrintDialog:PageRange:Edit", "PageRange",
- OUString::valueOf(mnCurPage + 1), aPageRangeOpt));
+ OUString::number(mnCurPage + 1), aPageRangeOpt));
FreeResource();
}
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index d41c9261e13f..18dd7d1056f3 100644
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -720,13 +720,13 @@ void DrawViewShell::GetStatusBarState(SfxItemSet& rSet)
// Always show the slide/page number.
OUString aOUString = SD_RESSTR(STR_SD_PAGE);
aOUString += " ";
- aOUString += OUString::valueOf( sal_Int32(maTabControl.GetCurPageId()) );
+ aOUString += OUString::number( maTabControl.GetCurPageId() );
aOUString += " / " ;
- aOUString += OUString::valueOf( nPageCount );
+ aOUString += OUString::number( nPageCount );
if (nPageCount != nActivePageCount)
{
aOUString += " (";
- aOUString += OUString::valueOf( nActivePageCount );
+ aOUString += OUString::number( nActivePageCount );
aOUString += ")";
}