summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-11-14 09:25:27 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-11-14 09:25:28 +0100
commit90a77e9c13eb9b2aa6e83653d9d2d1409bc47f36 (patch)
tree2322447127000c4e57eb0ea44dd683d94b22beb5 /oox
parent2559ab66fd2976df54fc7d66bac5b7c0f7c23370 (diff)
oox, xmlsecurity: fix recently introduced style problems
These files had a consistent style previously, keep them that way. Change-Id: I6347efd4a301ddd758f4661778c0dfb68585940d
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/customshapepresetdata.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/drawingml/customshapepresetdata.cxx b/oox/source/drawingml/customshapepresetdata.cxx
index df9307efbeed..175e291e93a8 100644
--- a/oox/source/drawingml/customshapepresetdata.cxx
+++ b/oox/source/drawingml/customshapepresetdata.cxx
@@ -318,10 +318,10 @@ void lcl_parseHandleRange(std::vector<beans::PropertyValue>& rHandle, const OStr
void lcl_parseHandleRef(std::vector<beans::PropertyValue>& rHandle, const OString& rValue, const OUString& rName)
{
static const char aPrefix[] = "\", Handle = (long) 0, Value = (any) { (long) ";
- const sal_Int32 nCheck= SAL_N_ELEMENTS( aPrefix ) - 1;
- const sal_Int32 nStart= SAL_N_ELEMENTS( "Name = \"" ) - 1 + rName.getLength();
+ const sal_Int32 nCheck= SAL_N_ELEMENTS(aPrefix) - 1;
+ const sal_Int32 nStart= SAL_N_ELEMENTS("Name = \"") - 1 + rName.getLength();
- if ( rValue.copy( nStart , nCheck ).equalsL( aPrefix, nCheck ) )
+ if (rValue.copy(nStart , nCheck).equalsL(aPrefix, nCheck))
{
sal_Int32 nIndex = nStart + nCheck;
beans::PropertyValue aPropertyValue;