summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/itemconnect.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-10-19 11:33:31 +0300
committerTor Lillqvist <tml@collabora.com>2015-10-19 11:33:31 +0300
commitd91e347943bd5d71f9c4c0f90f0999b3d91f0a55 (patch)
treefc9af048fe38f7b51ac839116081b90716d5513a /sfx2/source/dialog/itemconnect.cxx
parent25d1447fcfe7d3fcdf8792d1cf426aaa2e578875 (diff)
WaE: loplugin:defaultparams
Change-Id: I39c1e5664a7a03617258830b4aa21efb89fb14bc
Diffstat (limited to 'sfx2/source/dialog/itemconnect.cxx')
-rw-r--r--sfx2/source/dialog/itemconnect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/itemconnect.cxx b/sfx2/source/dialog/itemconnect.cxx
index eb1ba0ea2506..7c7b7d4a8301 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 )