summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index d2d30bebbef6..d069e20224d5 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -1737,7 +1737,7 @@ void SwWW8ImplReader::Read_Tab(sal_uInt16 , const sal_uInt8* pData, short nLen)
bFound = pSty->GetAttrSet().GetItemState(RES_PARATR_TABSTOP, false,
&pTabs) == SfxItemState::SET;
if( bFound )
- aAttr = *((const SvxTabStopItem*)pTabs);
+ aAttr = *static_cast<const SvxTabStopItem*>(pTabs);
else
{
sal_uInt16 nOldTabBase = nTabBase;
@@ -5522,7 +5522,7 @@ namespace
const SfxPoolItem *pPasswordItem;
if(pSet && SfxItemState::SET == pSet->GetItemState(SID_PASSWORD, true, &pPasswordItem))
- aPassw = ((const SfxStringItem *)pPasswordItem)->GetValue();
+ aPassw = static_cast<const SfxStringItem *>(pPasswordItem)->GetValue();
else
{
try