diff options
Diffstat (limited to 'sd/source/core/stlsheet.cxx')
-rw-r--r-- | sd/source/core/stlsheet.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 74fe9937bde8..5fabb740dbd2 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -1006,7 +1006,7 @@ void SAL_CALL SdStyleSheet::setPropertyValue( const OUString& aPropertyName, con throw IllegalArgumentException(); } - SfxItemSet aSet( GetPool().GetPool(), pEntry->nWID, pEntry->nWID); + SfxItemSet aSet( GetPool().GetPool(), {{pEntry->nWID, pEntry->nWID}}); aSet.Put( rStyleSet ); if( !aSet.Count() ) @@ -1113,7 +1113,7 @@ Any SAL_CALL SdStyleSheet::getPropertyValue( const OUString& PropertyName ) } else { - SfxItemSet aSet( GetPool().GetPool(), pEntry->nWID, pEntry->nWID); + SfxItemSet aSet( GetPool().GetPool(), {{pEntry->nWID, pEntry->nWID}}); const SfxPoolItem* pItem; SfxItemSet& rStyleSet = GetItemSet(); @@ -1301,7 +1301,7 @@ Any SAL_CALL SdStyleSheet::getPropertyDefault( const OUString& aPropertyName ) else { SfxItemPool& rMyPool = GetPool().GetPool(); - SfxItemSet aSet( rMyPool, pEntry->nWID, pEntry->nWID); + SfxItemSet aSet( rMyPool, {{pEntry->nWID, pEntry->nWID}}); aSet.Put( rMyPool.GetDefaultItem( pEntry->nWID ) ); aRet = SvxItemPropertySet_getPropertyValue( pEntry, aSet ); } |