summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewcoll.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewcoll.cxx')
-rw-r--r--sw/source/uibase/uiview/viewcoll.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewcoll.cxx b/sw/source/uibase/uiview/viewcoll.cxx
index cf37be0dac25..fa322098a6fa 100644
--- a/sw/source/uibase/uiview/viewcoll.cxx
+++ b/sw/source/uibase/uiview/viewcoll.cxx
@@ -55,7 +55,7 @@ void SwView::ExecColl(SfxRequest const &rReq)
SfxStringItem aName(SID_STYLE_APPLY,
static_cast<const SfxStringItem*>(pItem)->GetValue());
SfxUInt16Item aFamItem( SID_STYLE_FAMILY,
- (sal_uInt16) SfxStyleFamily::Page);
+ sal_uInt16(SfxStyleFamily::Page));
SwPtrItem aShell(FN_PARAM_WRTSHELL, GetWrtShellPtr());
SfxRequest aReq(SID_STYLE_APPLY, SfxCallMode::SLOT, GetPool());
aReq.AppendItem(aName);