diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/accpara.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 3ed00c6dbbd5..9f69d01eec80 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -1870,9 +1870,9 @@ void SwAccessibleParagraph::_getDefaultAttributesImpl( break; } - if ( dynamic_cast<const SwFlyFrm*>(pUpperFrm) ) + if ( const SwFlyFrm* pFlyFrm = dynamic_cast<const SwFlyFrm*>(pUpperFrm) ) { - pUpperFrm = dynamic_cast<const SwFlyFrm*>(pUpperFrm)->GetAnchorFrm(); + pUpperFrm = pFlyFrm->GetAnchorFrm(); } else { |