diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-10-11 10:16:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-10-11 20:33:01 +0200 |
commit | 2241ce64b29e87e0c654ab529b71aa98f71b4a14 (patch) | |
tree | b9d1d049afa41a48eca12bfa65278f6632ec1a9e /include/sax | |
parent | a6ec933d0fe2150a6b83cd54a0de30b252c9a600 (diff) |
use std::unique_ptr
Change-Id: Ibb3d71c8d50e1ad7236a6fe01ff83d3cd1a866f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141214
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sax')
-rw-r--r-- | include/sax/fshelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sax/fshelper.hxx b/include/sax/fshelper.hxx index 79f0e1a0f30f..115a3f912ca5 100644 --- a/include/sax/fshelper.hxx +++ b/include/sax/fshelper.hxx @@ -156,7 +156,7 @@ private: void pushAttributeValue( sal_Int32 attribute, const char* value ); void pushAttributeValue( sal_Int32 attribute, const OString& value ); - FastSaxSerializer* mpSerializer; + std::unique_ptr<FastSaxSerializer> mpSerializer; }; typedef std::shared_ptr< FastSerializerHelper > FSHelperPtr; |