From 90a77e9c13eb9b2aa6e83653d9d2d1409bc47f36 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 14 Nov 2016 09:25:27 +0100 Subject: oox, xmlsecurity: fix recently introduced style problems These files had a consistent style previously, keep them that way. Change-Id: I6347efd4a301ddd758f4661778c0dfb68585940d --- oox/source/drawingml/customshapepresetdata.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'oox/source') 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& rHandle, const OStr void lcl_parseHandleRef(std::vector& 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; -- cgit