From 956dd4a202a0897b7ca1f8abd285af2cad47abb2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 20 Dec 2017 15:53:37 +0200 Subject: TypedWhichId in svx part 2 Change-Id: Id927679c9f07f1dd820f4fdca9a45eb7aede037c Reviewed-on: https://gerrit.libreoffice.org/46850 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/ui/chrdlg/tblnumfm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/ui/chrdlg') 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 pNewPage = (*fnCreatePage)( get_content_area(), &rSet ); SfxAllItemSet aSet(*(rSet.GetPool())); - aSet.Put ( SvxNumberInfoItem( static_cast(pNewPage->GetItemSet().Get( SID_ATTR_NUMBERFORMAT_INFO )))); + aSet.Put ( SvxNumberInfoItem( pNewPage->GetItemSet().Get( SID_ATTR_NUMBERFORMAT_INFO ) )); pNewPage->PageCreated(aSet); SetTabPage(pNewPage); } -- cgit