diff options
Diffstat (limited to 'vcl/unx/generic/print/genprnpsp.cxx')
-rw-r--r-- | vcl/unx/generic/print/genprnpsp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/print/genprnpsp.cxx b/vcl/unx/generic/print/genprnpsp.cxx index 0285449a124a..45ce18e4a09d 100644 --- a/vcl/unx/generic/print/genprnpsp.cxx +++ b/vcl/unx/generic/print/genprnpsp.cxx @@ -224,7 +224,7 @@ static void copyJobDataToJobSetup( ImplJobSetup* pJobSetup, JobData& rData ) // copy the whole context if( pJobSetup->GetDriverData() ) - rtl_freeMemory( const_cast<sal_uInt8*>(pJobSetup->GetDriverData()) ); + std::free( const_cast<sal_uInt8*>(pJobSetup->GetDriverData()) ); sal_uInt32 nBytes; void* pBuffer = nullptr; @@ -538,7 +538,7 @@ bool PspSalInfoPrinter::Setup( weld::Window* pFrame, ImplJobSetup* pJobSetup ) if (SetupPrinterDriver(pFrame, aInfo)) { aInfo.resolveDefaultBackend(); - rtl_freeMemory( const_cast<sal_uInt8*>(pJobSetup->GetDriverData()) ); + std::free( const_cast<sal_uInt8*>(pJobSetup->GetDriverData()) ); pJobSetup->SetDriverData( nullptr ); sal_uInt32 nBytes; |