diff options
Diffstat (limited to 'sw/source/filter/ww8/wrtww8gr.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtww8gr.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx index 3ce1b180d9c3..ab7edbb69d28 100644 --- a/sw/source/filter/ww8/wrtww8gr.cxx +++ b/sw/source/filter/ww8/wrtww8gr.cxx @@ -536,9 +536,7 @@ void SwWW8WrGrf::WritePICFHeader(SvStream& rStrm, const sw::Frame &rFly, if( pBox ) { bool bShadow = false; // Shadow ? - const SvxShadowItem* pSI = - sw::util::HasItem<SvxShadowItem>(rAttrSet, RES_SHADOW); - if (pSI) + if (const SvxShadowItem* pSI = rAttrSet.GetItem<SvxShadowItem>(RES_SHADOW)) { bShadow = (pSI->GetLocation() != SVX_SHADOW_NONE) && (pSI->GetWidth() != 0); |