summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-04-23 09:05:17 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-04-27 14:00:46 +0200
commit983e639260e77e01823798c2e5468578ac2e3ee4 (patch)
tree62276f7e34e828f32b7802c6308e1b15943539e7 /sw
parentcffcdd09b52d7449c1b5b89fa199a7d2e617b975 (diff)
Do not post-increment a pointer going out of scope
Change-Id: I69aed9989573c35792e8b7f16d4825ca7f0a6b90
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/xml/wrtxml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/wrtxml.cxx b/sw/source/filter/xml/wrtxml.cxx
index 53af00e5458e..1a7e201c4577 100644
--- a/sw/source/filter/xml/wrtxml.cxx
+++ b/sw/source/filter/xml/wrtxml.cxx
@@ -264,7 +264,7 @@ sal_uInt32 SwXMLWriter::_Write( const uno::Reference < task::XStatusIndicator >&
{
PropertyValue *pProps = aProps.getArray();
pProps->Name = "FileName";
- (pProps++)->Value <<= *pOrigFileName;
+ pProps->Value <<= *pOrigFileName;
}
// export sub streams for package, else full stream into a file