diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-09-26 11:44:54 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-09-26 11:47:45 +0200 |
commit | 7f436c1fd3a5f879fc99652043befb35158b3321 (patch) | |
tree | fb7afa124abc55dba2c9d17f4fa10a593485febf /xmloff | |
parent | 69c4a8bae5caadc4ff53660dd3f2b938f6dc1734 (diff) |
typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/XMLNumberStyles.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/animationimport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/DashStyle.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/text/txtflde.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtimp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/xforms/xformsexport.cxx | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/source/draw/XMLNumberStyles.cxx b/xmloff/source/draw/XMLNumberStyles.cxx index 0fbbf792e551..97c2af92598f 100644 --- a/xmloff/source/draw/XMLNumberStyles.cxx +++ b/xmloff/source/draw/XMLNumberStyles.cxx @@ -685,7 +685,7 @@ void SdXMLNumberFormatImportContext::EndElement() } else if( mnElements[nIndex] == DATA_STYLE_NUMBER_TEXT_SPACE ) { - // if its a valid date ending with a space, see if a time style follows + // if it's a valid date ending with a space, see if a time style follows for( sal_Int16 nTimeFormat = 0; nTimeFormat < SdXMLTimeFormatCount; nTimeFormat++ ) { sal_Int16 nIndex2 = nIndex + 1; diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index 4ea26ce05d02..726ecd681009 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -306,7 +306,7 @@ static bool isTime( const OUString& rValue ) } // return true if this is a double (if someone forgot the 's' we silently ignore it) - // or if its a double that ends with a 's' or 'S' + // or if it's a double that ends with a 's' or 'S' return (nLength == 0) || ((*pStr == 's' || *pStr == 'S') && (nLength == 1)); } diff --git a/xmloff/source/style/DashStyle.cxx b/xmloff/source/style/DashStyle.cxx index f15b7870dfbe..0721a7c940b0 100644 --- a/xmloff/source/style/DashStyle.cxx +++ b/xmloff/source/style/DashStyle.cxx @@ -141,7 +141,7 @@ sal_Bool XMLDashStyleImport::importXML( case XML_TOK_DASH_DOTS1LEN: { - if( rStrValue.indexOf( sal_Unicode('%') ) != -1 ) // its a percentage + if( rStrValue.indexOf( sal_Unicode('%') ) != -1 ) // it's a percentage { bIsRel = true; ::sax::Converter::convertPercent(aLineDash.DotLen, rStrValue); @@ -160,7 +160,7 @@ sal_Bool XMLDashStyleImport::importXML( case XML_TOK_DASH_DOTS2LEN: { - if( rStrValue.indexOf( sal_Unicode('%') ) != -1 ) // its a percentage + if( rStrValue.indexOf( sal_Unicode('%') ) != -1 ) // it's a percentage { bIsRel = true; ::sax::Converter::convertPercent(aLineDash.DashLen, rStrValue); @@ -175,7 +175,7 @@ sal_Bool XMLDashStyleImport::importXML( case XML_TOK_DASH_DISTANCE: { - if( rStrValue.indexOf( sal_Unicode('%') ) != -1 ) // its a percentage + if( rStrValue.indexOf( sal_Unicode('%') ) != -1 ) // it's a percentage { bIsRel = true; ::sax::Converter::convertPercent(aLineDash.Distance, rStrValue); diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index a1e080bf3615..d1d485b366ab 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -387,7 +387,7 @@ enum FieldIdEnum XMLTextFieldExport::GetFieldID( ++pNames; } - // if this is not a normal text field, check if its a presentation text field + // if this is not a normal text field, check if it's a presentation text field if( sFieldName.isEmpty() ) { const OUString* pNames2 = aServices.getConstArray(); diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index 644f788d2f63..245a7b2762a3 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -2359,7 +2359,7 @@ sal_Int32 XMLTextImportHelper::GetDataStyleKey(const OUString& sStyleName, // get appropriate context - // first check if its a impress and draw only number format + // first check if it's a impress and draw only number format // this is needed since its also a SvXMLNumFormatContext, // that was needed to support them for controls in impress/draw also SdXMLNumberFormatImportContext* pSdNumStyle = PTR_CAST( SdXMLNumberFormatImportContext, pStyle ); diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx index 6b082b492898..ccbd622d3785 100644 --- a/xmloff/source/xforms/xformsexport.cxx +++ b/xmloff/source/xforms/xformsexport.cxx @@ -302,7 +302,7 @@ void exportXFormsBinding( SvXMLExport& rExport, try { - // now get type, and determine whether its a standard type. If + // now get type, and determine whether it's a standard type. If // so, export the XSD name Reference<com::sun::star::xforms::XModel> xModel( xBinding->getPropertyValue( "Model" ), |