diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-20 14:39:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-20 14:40:40 +0100 |
commit | 06f65a10aec23f4442bd42d1d117d0e8d648c52a (patch) | |
tree | 718e3d3c8736bd94deaa67977ff47f787eff9ea7 /sw/source/core/unocore/unostyle.cxx | |
parent | 8a01693c79a24006cbe7d8642b97408eb23a1bd9 (diff) |
WaE: maybe-uninitialized
Change-Id: Idbe9f52b0c4b6eeb2fb7b5d934727bd74e96e6d3
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 b5bbfeda70c1..e609a6ace94f 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -1549,9 +1549,9 @@ void SwXStyle::ApplyDescriptorProperties() PropertyEntryVector_t::const_iterator aIt = rPropertyVector.begin(); while(aIt != rPropertyVector.end()) { - uno::Any* pAny; + uno::Any* pAny(0); pPropImpl->GetProperty(aIt->sName, pAny); - if(pAny) + if (pAny) setPropertyValue(aIt->sName, *pAny); ++aIt; } |