summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-09-28 08:48:59 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-09-28 11:40:03 +0200
commita4716c316689de359eba1eb2a9f99e169c48cf59 (patch)
tree0cdfed57c4ea85ade49046aaef68ee69c3dd4565 /sw
parent337796cdab209f4dd0768bb61134a37f8f713371 (diff)
cid#1546174 Unused value
Change-Id: I79caaeccb044eef0caecb931e1e8289e3904b806 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157353 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/ftnfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx
index b2edab893023..78d25949c91b 100644
--- a/sw/source/core/layout/ftnfrm.cxx
+++ b/sw/source/core/layout/ftnfrm.cxx
@@ -2294,7 +2294,7 @@ void SwFootnoteBossFrame::RearrangeFootnotes( const SwTwips nDeadLine, const boo
{
pLastFootnoteFrame->Cut();
SwFrame::DestroyFrame(pLastFootnoteFrame);
- pLastFootnoteFrame = nullptr;
+ // pLastFootnoteFrame overwritten at end of block
}
}
if ( !bLock )