diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-23 09:05:17 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-04-27 14:00:46 +0200 |
commit | 983e639260e77e01823798c2e5468578ac2e3ee4 (patch) | |
tree | 62276f7e34e828f32b7802c6308e1b15943539e7 /sw | |
parent | cffcdd09b52d7449c1b5b89fa199a7d2e617b975 (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.cxx | 2 |
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 |