summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/headerfooterdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-16 12:58:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-17 08:40:22 +0200
commit59f398e934541e05dc9b77c1191227f8c68ea037 (patch)
treef106d5a10252b63bda7d5eba057c977957e5f074 /sd/source/ui/dlg/headerfooterdlg.cxx
parent21373c757315b05e77aab50d9fc5d57d70a77c14 (diff)
loplugin:unusedfields in sd
Change-Id: I01e6431279b71d0cff8f44614b3cad17f0f89460 Reviewed-on: https://gerrit.libreoffice.org/54452 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/dlg/headerfooterdlg.cxx')
-rw-r--r--sd/source/ui/dlg/headerfooterdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx
index 636f5ac6849f..97c343c12375 100644
--- a/sd/source/ui/dlg/headerfooterdlg.cxx
+++ b/sd/source/ui/dlg/headerfooterdlg.cxx
@@ -210,9 +210,9 @@ HeaderFooterDialog::HeaderFooterDialog( ViewShell* pViewShell, vcl::Window* pPar
aCtrlSiz = aSiz;
}
- mnNotesId = mpTabCtrl->GetPageId("notes");
+ sal_uInt16 nNotesId = mpTabCtrl->GetPageId("notes");
mpNotesHandoutsTabPage = VclPtr<HeaderFooterTabPage>::Create( mpTabCtrl, pDoc, pNotes, true );
- mpTabCtrl->SetTabPage( mnNotesId, mpNotesHandoutsTabPage );
+ mpTabCtrl->SetTabPage( nNotesId, mpNotesHandoutsTabPage );
get(maPBApplyToAll, "apply_all" );
get(maPBApply, "apply" );