summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-12 09:21:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-12 09:21:28 +0100
commit233cec3fe516876277d34771b5564db63d78e5d3 (patch)
tree24dea5f8c2c6867fcf8f4e8771f4728970955333 /xmloff
parent2d33d18c4857d7b845a1c6dae4e5aa391f4a781d (diff)
cppcheck: silence redundantAssignment
Change-Id: If1080d99357b45486739120b9ba43c0f14f39ea8
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlexppr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx
index ce43f2fa0b33..a7876d4fbe7b 100644
--- a/xmloff/source/style/xmlexppr.cxx
+++ b/xmloff/source/style/xmlexppr.cxx
@@ -629,7 +629,7 @@ vector<XMLPropertyState> SvXMLExportPropertyMapper::_Filter(
// getPropertySetInfo returns a new object; such property set infos must
// not be cached:
WeakReference < XPropertySetInfo > xWeakInfo( xInfo );
- xInfo = 0;
+ xInfo.clear();
xInfo = xWeakInfo;
if( xInfo.is() )
{