summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/print/common_gfx.cxx2
-rw-r--r--vcl/source/window/builder.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/generic/print/common_gfx.cxx b/vcl/generic/print/common_gfx.cxx
index e73c6aa9dbb4..c460558f641d 100644
--- a/vcl/generic/print/common_gfx.cxx
+++ b/vcl/generic/print/common_gfx.cxx
@@ -1204,7 +1204,7 @@ PrinterGfx::DrawEPS( const Rectangle& rBoundingBox, void* pPtr, sal_uInt32 nSize
static sal_uInt16 nEps = 0;
if( aDocTitle.isEmpty() )
- aDocTitle = rtl::OString::valueOf(static_cast<sal_Int32>(nEps++));
+ aDocTitle = OString::number(nEps++);
if( fLeft != fRight && fTop != fBottom )
{
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index a18d0b286a68..583d6ce5ddd3 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -808,7 +808,7 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
//Make up a name for it
OString sTabPageId = get_by_window(pParent) +
OString("-page") +
- OString::valueOf(static_cast<sal_Int32>(nNewPageCount));
+ OString::number(nNewPageCount);
m_aChildren.push_back(WinAndId(sTabPageId, pPage, false));
pPage->SetHelpId(m_sHelpRoot + sTabPageId);