diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2019-10-04 18:12:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-05 09:10:21 +0200 |
commit | faec1a870e671e79d1cdc532a509c345e3731c16 (patch) | |
tree | f5941546fc95153d5301c294b7ab653fce23deb1 /sd | |
parent | 85091c7bf5c3f2fcf409fd2691f227ca7f353945 (diff) |
Convert SID_PAPER_START/END to SfxUInt16Item
Change-Id: I62067075853b1d5c893c14d72a247b07a3cc5585
Reviewed-on: https://gerrit.libreoffice.org/80248
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/dlgpage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/dlgpage.cxx b/sd/source/ui/dlg/dlgpage.cxx index f9fa0db66778..77dbd01af706 100644 --- a/sd/source/ui/dlg/dlgpage.cxx +++ b/sd/source/ui/dlg/dlgpage.cxx @@ -68,8 +68,8 @@ void SdPageDlg::PageCreated(const OString& rId, SfxTabPage& rPage) if (rId == "RID_SVXPAGE_PAGE") { aSet.Put (SfxUInt16Item(sal_uInt16(SID_ENUM_PAGE_MODE), SVX_PAGE_MODE_PRESENTATION)); - aSet.Put (SfxAllEnumItem(sal_uInt16(SID_PAPER_START), PAPER_A0)); - aSet.Put (SfxAllEnumItem(sal_uInt16(SID_PAPER_END), PAPER_E)); + aSet.Put (SfxUInt16Item(SID_PAPER_START, PAPER_A0)); + aSet.Put (SfxUInt16Item(SID_PAPER_END, PAPER_E)); rPage.PageCreated(aSet); } else if (rId == "RID_SVXPAGE_AREA") |