summaryrefslogtreecommitdiff
path: root/sc/source/ui/styleui/styledlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/styleui/styledlg.cxx')
-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 328b015f5d5f..e68b412fcaa2 100644
--- a/sc/source/ui/styleui/styledlg.cxx
+++ b/sc/source/ui/styleui/styledlg.cxx
@@ -151,7 +151,7 @@ void ScStyleDlg::PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage )
SfxAllItemSet aSet(*(GetInputSetImpl()->GetPool()));
if (nPageId == m_nPageId)
{
- aSet.Put (SfxAllEnumItem((sal_uInt16)SID_ENUM_PAGE_MODE, SVX_PAGE_MODE_CENTER));
+ aSet.Put (SfxAllEnumItem(sal_uInt16(SID_ENUM_PAGE_MODE), SVX_PAGE_MODE_CENTER));
rTabPage.PageCreated(aSet);
}
else if (nPageId == m_nHeaderId || nPageId == m_nFooterId)