[Libreoffice-commits] core.git: sfx2/source
Tor Lillqvist
tml at collabora.com
Mon Oct 19 01:34:59 PDT 2015
sfx2/source/dialog/itemconnect.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d91e347943bd5d71f9c4c0f90f0999b3d91f0a55
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Oct 19 11:33:31 2015 +0300
WaE: loplugin:defaultparams
Change-Id: I39c1e5664a7a03617258830b4aa21efb89fb14bc
diff --git a/sfx2/source/dialog/itemconnect.cxx b/sfx2/source/dialog/itemconnect.cxx
index eb1ba0e..7c7b7d4 100644
--- a/sfx2/source/dialog/itemconnect.cxx
+++ b/sfx2/source/dialog/itemconnect.cxx
@@ -52,7 +52,7 @@ bool ItemWrapperHelper::IsKnownItem( const SfxItemSet& rItemSet, sal_uInt16 nSlo
const SfxPoolItem* ItemWrapperHelper::GetUniqueItem( const SfxItemSet& rItemSet, sal_uInt16 nSlot )
{
sal_uInt16 nWhich = GetWhichId( rItemSet, nSlot );
- return (rItemSet.GetItemState( nWhich, true ) >= SfxItemState::DEFAULT) ? rItemSet.GetItem( nWhich, true ) : 0;
+ return (rItemSet.GetItemState( nWhich, true ) >= SfxItemState::DEFAULT) ? rItemSet.GetItem( nWhich ) : 0;
}
const SfxPoolItem& ItemWrapperHelper::GetDefaultItem( const SfxItemSet& rItemSet, sal_uInt16 nSlot )
More information about the Libreoffice-commits
mailing list