diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-05 21:30:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-05 22:41:56 +0000 |
commit | 9999eab5fe5e92118574468905cae0e3c8982c7f (patch) | |
tree | 2bc04015f09e30c8d8dbb000f12f08749c21be59 /sw/source/ui/uno/unomailmerge.cxx | |
parent | b234008ba5096f251fffec4c467f2103f4ba3cc0 (diff) |
getPropertyMap can return a reference instead of a pointer
Diffstat (limited to 'sw/source/ui/uno/unomailmerge.cxx')
-rw-r--r-- | sw/source/ui/uno/unomailmerge.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/uno/unomailmerge.cxx b/sw/source/ui/uno/unomailmerge.cxx index d0852a167c3a..4b6a8a1402fe 100644 --- a/sw/source/ui/uno/unomailmerge.cxx +++ b/sw/source/ui/uno/unomailmerge.cxx @@ -882,7 +882,7 @@ void SAL_CALL SwXMailMerge::setPropertyValue( { SolarMutexGuard aGuard; - const SfxItemPropertySimpleEntry* pCur = pPropSet->getPropertyMap()->getByName( rPropertyName ); + const SfxItemPropertySimpleEntry* pCur = pPropSet->getPropertyMap().getByName( rPropertyName ); if (!pCur) throw UnknownPropertyException(); else if (pCur->nFlags & PropertyAttribute::READONLY) @@ -1039,7 +1039,7 @@ uno::Any SAL_CALL SwXMailMerge::getPropertyValue( Any aRet; - const SfxItemPropertySimpleEntry* pCur = pPropSet->getPropertyMap()->getByName( rPropertyName ); + const SfxItemPropertySimpleEntry* pCur = pPropSet->getPropertyMap().getByName( rPropertyName ); if (!pCur) throw UnknownPropertyException(); else @@ -1093,7 +1093,7 @@ void SAL_CALL SwXMailMerge::addPropertyChangeListener( SolarMutexGuard aGuard; if (!bDisposing && rListener.is()) { - const SfxItemPropertySimpleEntry* pCur = pPropSet->getPropertyMap()->getByName( rPropertyName ); + const SfxItemPropertySimpleEntry* pCur = pPropSet->getPropertyMap().getByName( rPropertyName ); if (pCur) aPropListeners.addInterface( pCur->nWID, rListener ); else @@ -1109,7 +1109,7 @@ void SAL_CALL SwXMailMerge::removePropertyChangeListener( SolarMutexGuard aGuard; if (!bDisposing && rListener.is()) { - const SfxItemPropertySimpleEntry* pCur = pPropSet->getPropertyMap()->getByName( rPropertyName ); + const SfxItemPropertySimpleEntry* pCur = pPropSet->getPropertyMap().getByName( rPropertyName ); if (pCur) aPropListeners.removeInterface( pCur->nWID, rListener ); else |