sw/source/writerfilter/ooxml/OOXMLParserState.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fcc1b0d637807830c684741aad885986bc5b86db
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Tue Aug 27 13:25:15 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue Aug 27 19:10:56 2024 +0200

    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.gran...@collabora.co.uk>
    Tested-by: Jenkins

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;
     }
 }
 

Reply via email to