Kaydet (Commit) 866e17cf authored tarafından Noel Grandin's avatar Noel Grandin

no need to construct a new object in SfxIntegerListItem::operator==

looks like an obvious typo

Change-Id: Icea0952ec8203725cf5ba1ec90bdddd82eca7b3c
Reviewed-on: https://gerrit.libreoffice.org/51562Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 59e68b30
......@@ -55,7 +55,7 @@ bool SfxIntegerListItem::operator==( const SfxPoolItem& rPoolItem ) const
if ( dynamic_cast< const SfxIntegerListItem* >( &rPoolItem) == nullptr )
return false;
const SfxIntegerListItem rItem = static_cast<const SfxIntegerListItem&>(rPoolItem);
const SfxIntegerListItem & rItem = static_cast<const SfxIntegerListItem&>(rPoolItem);
return rItem.m_aList == m_aList;
}
......
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