diff options
author | Gulsah Kose <gulsah.1004@gmail.com> | 2015-03-19 13:13:02 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-20 09:50:33 +0000 |
commit | 2db08b9ed6427bfa2c7d611b1a7294cb77c6e9b9 (patch) | |
tree | 8a51f57d22a9860ffeb7fc3e91a5be6bfea8d796 /sw/source/core/unocore/unodraw.cxx | |
parent | a7b611e8fb62d6e93844e5e7b9f1f00adb4afeea (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/core/unocore/unodraw.cxx')
-rw-r--r-- | sw/source/core/unocore/unodraw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index d2df9ec085f7..5f62146a7731 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -1374,7 +1374,7 @@ void SwXShape::setPropertyValue(const OUString& rPropertyName, const uno::Any& a SwFmtFlyCnt aFmt( pFlyFmt ); pNd->InsertItem(aFmt, aPam.GetPoint()->nContent.GetIndex(), 0 ); - aPam.GetPoint()->nContent--; // InsertItem moved it + --aPam.GetPoint()->nContent; // InsertItem moved it SwFmtAnchor aNewAnchor( dynamic_cast<const SwFmtAnchor&>( aSet.Get(RES_ANCHOR))); |