summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2019-10-04 18:07:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-05 09:10:05 +0200
commit85091c7bf5c3f2fcf409fd2691f227ca7f353945 (patch)
treea01330bf1a7af5685b0d1029b20c4ab0a9750332 /sc
parent191794ab56e561b86c5092ea9b23f4688bbb6ebb (diff)
Convert SID_ENUM_PAGE_MODE to SfxUInt16Item
Change-Id: I5cffa31b45b7752ba3ff18c8a92da9766fcf8de6 Reviewed-on: https://gerrit.libreoffice.org/80241 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/styleui/styledlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/styleui/styledlg.cxx b/sc/source/ui/styleui/styledlg.cxx
index 1002cf2e18e6..ca6c1b727169 100644
--- a/sc/source/ui/styleui/styledlg.cxx
+++ b/sc/source/ui/styleui/styledlg.cxx
@@ -85,7 +85,7 @@ void ScStyleDlg::PageCreated(const OString& rPageId, SfxTabPage& rTabPage)
SfxAllItemSet aSet(*(GetInputSetImpl()->GetPool()));
if (rPageId == "page")
{
- aSet.Put (SfxAllEnumItem(sal_uInt16(SID_ENUM_PAGE_MODE), SVX_PAGE_MODE_CENTER));
+ aSet.Put (SfxUInt16Item(sal_uInt16(SID_ENUM_PAGE_MODE), SVX_PAGE_MODE_CENTER));
rTabPage.PageCreated(aSet);
}
else if (rPageId == "header" || rPageId == "footer")