summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-10-09 19:29:49 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-10-09 20:19:36 +0200
commit6a5f4fb9f9bc6cdbf3b01cad74b6caa7b4f7f451 (patch)
tree0313405373b0e80d6842b53685971c2d256c55c1 /xmloff
parent70faac516e12944dfed2f8e0c5b6593435985d20 (diff)
Typo: braket->bracket
Change-Id: I75c8c0fc15acb7e3ae6e59de91d5d9f67a4cd1ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123317 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/animationimport.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx
index 1c8ff364bccd..cba8355785c5 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -205,24 +205,24 @@ Any AnimationsImportHelperImpl::convertTarget( const OUString& rValue )
Any AnimationsImportHelperImpl::convertValue( XMLTokenEnum eAttributeName, const OUString& rValue )
{
sal_Int32 nCommaPos = -1, nPos;
- sal_Int32 nOpenBrakets = 0;
+ sal_Int32 nOpenBrackets = 0;
for( nPos = 0; (nPos < rValue.getLength()) && (nCommaPos == -1); nPos++ )
{
switch( rValue[nPos] )
{
case ',':
- if( nOpenBrakets == 0 )
+ if( nOpenBrackets == 0 )
nCommaPos = nPos;
break;
case '(':
case '[':
case '{':
- nOpenBrakets++;
+ nOpenBrackets++;
break;
case ')':
case ']':
case '}':
- nOpenBrakets--;
+ nOpenBrackets--;
break;
}
}