diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-08-27 13:25:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-08-27 19:10:56 +0200 |
commit | fcc1b0d637807830c684741aad885986bc5b86db (patch) | |
tree | 963a39b86f1c14cb50f837a7bd68b08594d2ae64 | |
parent | a9d806a68f4d8b21d80b8c0f35cb3a38d4b460aa (diff) |
tdf#158556 avoid some temporary OOXMLPropertySet
no need to allocate a new one here, the caller will hand us a new one if
we need it
Change-Id: Ib569535c76631c52ed997228055bbc2f36e4749b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172466
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
-rw-r--r-- | sw/source/writerfilter/ooxml/OOXMLParserState.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/writerfilter/ooxml/OOXMLParserState.cxx b/sw/source/writerfilter/ooxml/OOXMLParserState.cxx index b8cc55377b5b..9a145bfdd038 100644 --- a/sw/source/writerfilter/ooxml/OOXMLParserState.cxx +++ b/sw/source/writerfilter/ooxml/OOXMLParserState.cxx @@ -114,7 +114,7 @@ void OOXMLParserState::resolveCharacterProperties(Stream & rStream) if (mpCharacterProps) { rStream.props(mpCharacterProps.get()); - mpCharacterProps = new OOXMLPropertySet; + mpCharacterProps = nullptr; } } |