summaryrefslogtreecommitdiff
path: root/sw/source/filter/writer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-03 17:02:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-05 07:53:31 +0100
commit51ee91a3ca869be23153a235cbf33d4d20267fce (patch)
treed55ad43d12f82b2960d893a016f67e4f99ac5dd3 /sw/source/filter/writer
parent90db24c33060bcb6db6ef900981c4379cd3074af (diff)
TypedWhichId in sw(1)
Change-Id: If9330b2ea7e40f4775b1edd9611d35c6ddf31a00 Reviewed-on: https://gerrit.libreoffice.org/49185 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/writer')
-rw-r--r--sw/source/filter/writer/wrtswtbl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/writer/wrtswtbl.cxx b/sw/source/filter/writer/wrtswtbl.cxx
index 5332a1c307b9..c92803aa5b30 100644
--- a/sw/source/filter/writer/wrtswtbl.cxx
+++ b/sw/source/filter/writer/wrtswtbl.cxx
@@ -83,7 +83,7 @@ sal_uInt32 SwWriteTable::GetBoxWidth( const SwTableBox *pBox )
{
const SwFrameFormat *pFormat = pBox->GetFrameFormat();
const SwFormatFrameSize& aFrameSize=
- static_cast<const SwFormatFrameSize&>(pFormat->GetFormatAttr( RES_FRM_SIZE ));
+ pFormat->GetFormatAttr( RES_FRM_SIZE );
return sal::static_int_cast<sal_uInt32>(aFrameSize.GetSize().Width());
}
@@ -228,7 +228,7 @@ sal_uInt16 SwWriteTable::MergeBoxBorders( const SwTableBox *pBox,
sal_uInt16 nBorderMask = 0;
const SwFrameFormat *pFrameFormat = pBox->GetFrameFormat();
- const SvxBoxItem& rBoxItem = static_cast<const SvxBoxItem&>(pFrameFormat->GetFormatAttr( RES_BOX ));
+ const SvxBoxItem& rBoxItem = pFrameFormat->GetFormatAttr( RES_BOX );
if( rBoxItem.GetTop() )
{