diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-10-01 03:09:35 +0200 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2023-10-29 12:21:34 +0100 |
commit | d97e0458914991214e3d396273862855aff66234 (patch) | |
tree | 15a53170df16d021fee3459168871260022cd311 /vcl/inc/jobdata.hxx | |
parent | c75cac85230d3899fe9f5f5086c117e4e1e5d330 (diff) |
vcl: no raw pointers
For ImplJobSetup. Also, check memcmp mem size more properly
Change-Id: Idcf20bf1b51bc2508f3d37e018efd18e591a6099
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/26648
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'vcl/inc/jobdata.hxx')
-rw-r--r-- | vcl/inc/jobdata.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/jobdata.hxx b/vcl/inc/jobdata.hxx index ae9db11e69f6..46110057a888 100644 --- a/vcl/inc/jobdata.hxx +++ b/vcl/inc/jobdata.hxx @@ -69,7 +69,7 @@ struct VCL_DLLPUBLIC JobData // creates a new buffer using new // it is up to the user to delete it again - bool getStreamBuffer( void*& pData, sal_uInt32& bytes ); + bool getStreamBuffer( std::unique_ptr<sal_uInt8[]>& pData, sal_uInt32& bytes ); static bool constructFromStreamBuffer( const void* pData, sal_uInt32 bytes, JobData& rJobData ); }; |