diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-28 13:09:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-30 07:20:06 +0100 |
commit | afbc75c207f367fb60cbe2f1c634fe78cd86bf92 (patch) | |
tree | 2b74b0ceaf391255efd2daebc66f2b6aa966ef21 /sw/source/filter/ww8/ww8par6.cxx | |
parent | 0025fa723afb9f6a0d94b9b3185ea14da18f1bd5 (diff) |
TypedWhichId for RES_PARAATR constants
Change-Id: If2257d32fdd66703735466982e6913070ac1166d
Reviewed-on: https://gerrit.libreoffice.org/45402
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/ww8par6.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par6.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index c33b07057738..4eff211a0ada 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -4155,7 +4155,7 @@ void SwWW8ImplReader::Read_LR( sal_uInt16 nId, const sal_uInt8* pData, short nLe aLR.SetTextLeft(pNumFormat->GetIndentAt()); // If have not explicit left, set number format list tab position is doc default tab - const SvxTabStopItem *pDefaultStopItem = static_cast<const SvxTabStopItem *>(m_rDoc.GetAttrPool().GetPoolDefaultItem(RES_PARATR_TABSTOP)); + const SvxTabStopItem *pDefaultStopItem = m_rDoc.GetAttrPool().GetPoolDefaultItem(RES_PARATR_TABSTOP); if ( pDefaultStopItem && pDefaultStopItem->Count() > 0 ) const_cast<SwNumFormat*>(pNumFormat)->SetListtabPos( const_cast<SvxTabStop&>((*pDefaultStopItem)[0]).GetTabPos() ); } |