diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-03 14:37:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-03 16:19:28 +0200 |
commit | dbcabd8f46af3c0e609be44cabbcfa2ebdbd5742 (patch) | |
tree | 99866ecc75a113bf4440c74f8b77b6ebd2b2679c /include/vcl/errinf.hxx | |
parent | 009fdd4b83ba5ed66bd858784938fd6e246ddf75 (diff) |
return by std::unique_ptr from GetErrorInfo
Change-Id: I80f1643b252d0b38d279b402a422733c0c4749b9
Reviewed-on: https://gerrit.libreoffice.org/59938
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/errinf.hxx')
-rw-r--r-- | include/vcl/errinf.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/errinf.hxx b/include/vcl/errinf.hxx index 95e16213981b..a7160dfd695d 100644 --- a/include/vcl/errinf.hxx +++ b/include/vcl/errinf.hxx @@ -146,7 +146,7 @@ public: ErrCode const & GetErrorCode() const { return nUserId; } - static ErrorInfo* GetErrorInfo(ErrCode); + static std::unique_ptr<ErrorInfo> GetErrorInfo(ErrCode); private: ErrCode nUserId; |