diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-07 11:15:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-07 12:21:18 +0000 |
commit | 40661d3fcec5f50abcd79975e565cd61cba67f0c (patch) | |
tree | fbadc66868dfd792779432e92fc8b0d21355ac0c /sd | |
parent | dc025586351206f5369eeed1d9203e659d87ed04 (diff) |
clang-tidy dead-store
Change-Id: Iad8dd9081966193090b0929169da199b47f949a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148380
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviews1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx index a889ecc6937d..c920b315466e 100644 --- a/sd/source/ui/view/drviews1.cxx +++ b/sd/source/ui/view/drviews1.cxx @@ -660,7 +660,7 @@ void DrawViewShell::ResetActualPage() return; sal_uInt16 nCurrentPageId = maTabControl->GetCurPageId(); - sal_uInt16 nNewPageId = nCurrentPageId; + sal_uInt16 nNewPageId; sal_uInt16 nCurrentPageNum = maTabControl->GetPagePos(nCurrentPageId); sal_uInt16 nPageCount = (meEditMode == EditMode::Page)?GetDoc()->GetSdPageCount(mePageKind):GetDoc()->GetMasterSdPageCount(mePageKind); |