sw/source/core/undo/SwUndoPageDesc.cxx | 2 +- sw/source/filter/ww8/docxattributeoutput.cxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
New commits: commit 0b1fbae829145d9d71de68f7e3d00f5cd53ea401 Author: Caolán McNamara <[email protected]> AuthorDate: Sat Nov 29 12:14:56 2025 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Sat Nov 29 15:15:26 2025 +0100 cid#1494598 Uninitialized scalar field Change-Id: I2ba162d1411aa01fe0d6b19379119944faebdb7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194815 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index a3107c32dfcc..1efbdb39c06b 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -10598,6 +10598,7 @@ DocxAttributeOutput::DocxAttributeOutput( DocxExport &rExport, const FSHelperPtr m_rExport( rExport ), m_pSerializer( pSerializer ), m_rDrawingML( *pDrawingML ), + m_bCharPostureWritten(false), m_bEndCharSdt(false), m_endPageRef( false ), m_pFootnotesList( new ::docx::FootnotesList() ), commit b35995eed74a822a8a2fbbefce30245ea5ceb0a6 Author: Caolán McNamara <[email protected]> AuthorDate: Sat Nov 29 12:13:13 2025 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Sat Nov 29 15:15:19 2025 +0100 cid#1675088 Use of auto that causes a copy Change-Id: I86c985bb6a6fcffe203b1d195a91550bd63b559f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194814 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/sw/source/core/undo/SwUndoPageDesc.cxx b/sw/source/core/undo/SwUndoPageDesc.cxx index 6eea25cbafbb..a4d0cbdbc626 100644 --- a/sw/source/core/undo/SwUndoPageDesc.cxx +++ b/sw/source/core/undo/SwUndoPageDesc.cxx @@ -356,7 +356,7 @@ SwUndoPageDescDelete::SwUndoPageDescDelete(const SwPageDesc & _aOld, // Record which page descriptions in this document used this page desc as their follow for (size_t i = 0; i < m_rDoc.GetPageDescCnt(); ++i) { - if (const auto rPageDesc = m_rDoc.GetPageDesc(i); rPageDesc.GetFollow() == &_aOld) + if (const SwPageDesc& rPageDesc = m_rDoc.GetPageDesc(i); rPageDesc.GetFollow() == &_aOld) { m_aPageDescsThisFollowed.emplace_back(rPageDesc.GetName()); }
