summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/printergfx/common_gfx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/printergfx/common_gfx.cxx')
-rw-r--r--vcl/unx/generic/printergfx/common_gfx.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/printergfx/common_gfx.cxx b/vcl/unx/generic/printergfx/common_gfx.cxx
index 7cae4586bf6e..71ae6962ad73 100644
--- a/vcl/unx/generic/printergfx/common_gfx.cxx
+++ b/vcl/unx/generic/printergfx/common_gfx.cxx
@@ -1230,7 +1230,7 @@ PrinterGfx::DrawEPS( const Rectangle& rBoundingBox, void* pPtr, sal_uInt32 nSize
static sal_uInt16 nEps = 0;
if( ! aDocTitle.Len() )
- aDocTitle = ByteString::CreateFromInt32( (sal_Int32)(nEps++) );
+ aDocTitle = rtl::OString::valueOf(static_cast<sal_Int32>(nEps++));
if( fLeft != fRight && fTop != fBottom )
{