summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/printer/jobdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/printer/jobdata.cxx')
-rw-r--r--vcl/unx/generic/printer/jobdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/printer/jobdata.cxx b/vcl/unx/generic/printer/jobdata.cxx
index 8d3ae1cf9801..28772c99db13 100644
--- a/vcl/unx/generic/printer/jobdata.cxx
+++ b/vcl/unx/generic/printer/jobdata.cxx
@@ -180,7 +180,7 @@ bool JobData::getStreamBuffer( void*& pData, sal_uInt32& bytes )
// success
bytes = static_cast<sal_uInt32>(aStream.Tell());
- pData = rtl_allocateMemory( bytes );
+ pData = std::malloc( bytes );
memcpy( pData, aStream.GetData(), bytes );
return true;
}