diff options
Diffstat (limited to 'sw/source/ui/uno/unomailmerge.cxx')
-rw-r--r-- | sw/source/ui/uno/unomailmerge.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/uno/unomailmerge.cxx b/sw/source/ui/uno/unomailmerge.cxx index 89c896baee88..db9bf9d0e151 100644 --- a/sw/source/ui/uno/unomailmerge.cxx +++ b/sw/source/ui/uno/unomailmerge.cxx @@ -852,7 +852,6 @@ void SAL_CALL SwXMailMerge::setPropertyValue( else { void *pData = NULL; - const uno::Type* pType = pCur->pType; switch (pCur->nWID) { case WID_SELECTION : pData = &aSelection; break; @@ -889,7 +888,7 @@ void SAL_CALL SwXMailMerge::setPropertyValue( default : OSL_FAIL("unknown WID"); } - Any aOld( pData, *pType ); + Any aOld( pData, pCur->aType ); bool bChanged = false; sal_Bool bOK = sal_True; |