summaryrefslogtreecommitdiff
path: root/sw/source/filter/ascii
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2015-03-19 13:13:02 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-03-20 09:50:33 +0000
commit2db08b9ed6427bfa2c7d611b1a7294cb77c6e9b9 (patch)
tree8a51f57d22a9860ffeb7fc3e91a5be6bfea8d796 /sw/source/filter/ascii
parenta7b611e8fb62d6e93844e5e7b9f1f00adb4afeea (diff)
tdf#89756 Switched postfix to prefix operator++/--
Replaced postfix to prefix operator++/-- to improving performance Change-Id: Iaee7b22dbe21441b82612ae3a3e336cf56eb280f Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/14903 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/filter/ascii')
-rw-r--r--sw/source/filter/ascii/parasc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ascii/parasc.cxx b/sw/source/filter/ascii/parasc.cxx
index a28ddbab27bf..9c1c164e9588 100644
--- a/sw/source/filter/ascii/parasc.cxx
+++ b/sw/source/filter/ascii/parasc.cxx
@@ -225,7 +225,7 @@ sal_uLong SwASCIIParser::CallParser()
{
// then set over the insert range the defined attributes
*pInsPam->GetMark() = *pPam->GetPoint();
- pInsPam->GetPoint()->nNode++;
+ ++pInsPam->GetPoint()->nNode;
pInsPam->GetPoint()->nContent.Assign(
pInsPam->GetCntntNode(), nSttCntnt );