summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/XMLNumberStyles.cxx2
-rw-r--r--xmloff/source/draw/animationimport.cxx2
-rw-r--r--xmloff/source/style/DashStyle.cxx6
-rw-r--r--xmloff/source/text/txtflde.cxx2
-rw-r--r--xmloff/source/text/txtimp.cxx2
-rw-r--r--xmloff/source/xforms/xformsexport.cxx2
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" ),