diff options
Diffstat (limited to 'sw/source/core/unocore/unostyle.cxx')
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index a68424c221a3..643707f437df 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -2399,7 +2399,7 @@ uno::Any SwXStyle::GetPropertyValue_Impl(const SfxItemPropertySet* pPropSet, SwS else pFormat = m_pDoc->GetDfltFrameFormat(); const SwAttrPool* pPool = pFormat->GetAttrSet().GetPool(); - const SfxPoolItem& rItem = pPool->GetDefaultItem(pEntry->nWID); + const SfxPoolItem& rItem = pPool->GetUserOrPoolDefaultItem(pEntry->nWID); rItem.QueryValue(aValue, pEntry->nMemberId); } break; @@ -2777,7 +2777,7 @@ uno::Sequence<uno::Any> SAL_CALL SwXStyle::getPropertyDefaults(const uno::Sequen } else if(pEntry->nWID != rSet.GetPool()->GetSlotId(pEntry->nWID)) { - const SfxPoolItem& rItem = rSet.GetPool()->GetDefaultItem(pEntry->nWID); + const SfxPoolItem& rItem = rSet.GetPool()->GetUserOrPoolDefaultItem(pEntry->nWID); rItem.QueryValue(pRet[i], pEntry->nMemberId); } } |