summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-12-11 03:19:16 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-12-11 23:39:55 +0100
commitdd58c7892b1b4162662962d27c07b4d3d459939f (patch)
tree8a3d22ca799afae9268626e94e3ad8ad03ac4e23 /sw/source/core
parentddb248507f8266acdbd672eb84f51f5658f37410 (diff)
use preincrement here for grace
Change-Id: I7141510fbda1158511698f73c48274008f0a41dc
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/unocore/unostyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index f8fe8d1905be..9a5409157726 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -459,7 +459,7 @@ sal_Int32 lcl_GetCountOrName<SFX_STYLE_FAMILY_FRAME>(const SwDoc& rDoc, OUString
*pString = pFormat->GetName();
break;
}
- nCount++;
+ ++nCount;
}
return nCount + nPoolFrameRange;
}