Kaydet (Commit) d059f516 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242479 Dereference null return value

Change-Id: Ie9a9a3438408900d4a5e07b50f4e636e06f94026
üst bfe345e8
......@@ -1624,14 +1624,11 @@ void SfxViewFrame::DoAdjustPosSizePixel //! divide on Inner.../Outer...
}
}
bool SfxViewFrameItem::operator==( const SfxPoolItem &rItem ) const
{
return PTR_CAST(SfxViewFrameItem, &rItem)->pFrame== pFrame;
return dynamic_cast<const SfxViewFrameItem&>(rItem).pFrame == pFrame;
}
OUString SfxViewFrameItem::GetValueText() const
{
return OUString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment