summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg/tblnumfm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/chrdlg/tblnumfm.cxx')
-rw-r--r--sw/source/ui/chrdlg/tblnumfm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/chrdlg/tblnumfm.cxx b/sw/source/ui/chrdlg/tblnumfm.cxx
index 967fc154afae..4c254aa884cd 100644
--- a/sw/source/ui/chrdlg/tblnumfm.cxx
+++ b/sw/source/ui/chrdlg/tblnumfm.cxx
@@ -40,7 +40,7 @@ SwNumFormatDlg::SwNumFormatDlg(vcl::Window* pParent, const SfxItemSet& rSet)
{
VclPtr<SfxTabPage> pNewPage = (*fnCreatePage)( get_content_area(), &rSet );
SfxAllItemSet aSet(*(rSet.GetPool()));
- aSet.Put ( SvxNumberInfoItem( static_cast<const SvxNumberInfoItem&>(pNewPage->GetItemSet().Get( SID_ATTR_NUMBERFORMAT_INFO ))));
+ aSet.Put ( SvxNumberInfoItem( pNewPage->GetItemSet().Get( SID_ATTR_NUMBERFORMAT_INFO ) ));
pNewPage->PageCreated(aSet);
SetTabPage(pNewPage);
}