From d97e0458914991214e3d396273862855aff66234 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Mon, 1 Oct 2018 03:09:35 +0200 Subject: 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 --- vcl/inc/jobdata.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/inc/jobdata.hxx') 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& pData, sal_uInt32& bytes ); static bool constructFromStreamBuffer( const void* pData, sal_uInt32 bytes, JobData& rJobData ); }; -- cgit llotropia/zeta-24-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2022-10-12tdf#151071 Revise Sifr (Update color to follow symbolic Adwaita)Rizal Muttaqin
2022-09-29tdf#151071 Revise Sifr (too lazy to mention)Rizal Muttaqin
2019-03-07Sifr icon theme updateandreas kainz