sc/source/ui/undo/undodat.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fcd41c817354916b05748ce2f26c0f9b240d2041 Author: Miklos Vajna <[email protected]> AuthorDate: Wed Nov 26 12:07:29 2025 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Thu Nov 27 15:55:59 2025 +0100 sc: fix -Werror,-Wunused-but-set-variable Seen with clang-19. Change-Id: I25d970f005dfcf3f09b066843b1cba57f83b2698 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194620 Reviewed-by: Caolán McNamara <[email protected]> Code-Style: Caolán McNamara <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx index 064c31c6351c..aaaef9760c29 100644 --- a/sc/source/ui/undo/undodat.cxx +++ b/sc/source/ui/undo/undodat.cxx @@ -1293,7 +1293,7 @@ void ScUndoDBData::DoChange( const bool bUndo ) } } - if (const ScTableStyleParam* pTableStyleInfo = pDBData->GetTableStyleInfo()) + if (pDBData->GetTableStyleInfo()) { ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); if (pViewShell && aOldRange.IsValid())
