diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-11 14:52:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-12 07:46:58 +0100 |
commit | d905c783e7f20ea1f18600252cd92c02ea7f91f7 (patch) | |
tree | 2ea8f7926861a5843d578c5711325c18f560c079 /sw/source/uibase/shells/tabsh.cxx | |
parent | bb76df91431e2043a0683ea4140fe69178e10c8d (diff) |
TypeWhichId in sw
Change-Id: Ia5654aaf88f13c37f52e3c17d61dd3475641070a
Reviewed-on: https://gerrit.libreoffice.org/46230
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/shells/tabsh.cxx')
-rw-r--r-- | sw/source/uibase/shells/tabsh.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx index 61814a10b53a..c6e73aa8b2ce 100644 --- a/sw/source/uibase/shells/tabsh.cxx +++ b/sw/source/uibase/shells/tabsh.cxx @@ -656,13 +656,13 @@ void SwTableShell::Execute(SfxRequest &rReq) } else aCoreSet.Put( SfxUInt32Item( SID_ATTR_NUMBERFORMAT_VALUE, - static_cast<const SwTableBoxNumFormat&>(aBoxSet.Get( - RES_BOXATR_FORMAT )).GetValue() )); + aBoxSet.Get( + RES_BOXATR_FORMAT ).GetValue() )); OUString sCurText( rSh.GetTableBoxText() ); aCoreSet.Put( SvxNumberInfoItem( pFormatter, - static_cast<const SwTableBoxValue&>(aBoxSet.Get( - RES_BOXATR_VALUE)).GetValue(), + aBoxSet.Get( + RES_BOXATR_VALUE).GetValue(), sCurText, SID_ATTR_NUMBERFORMAT_INFO )); SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); |