summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2014-04-29 19:25:03 +0000
committerPedro Giffuni <pfg@apache.org>2014-04-29 19:25:03 +0000
commit28206a7cb43aff5adb10f8235ad1680c3941ee3e (patch)
tree89886aa22af7483120081efc38a138d737651703 /xmloff/source/style
parentc3f20ae9a447f50517fe545a53de91d412c3337c (diff)
Many spelling fixes: directories r* - z*.
Attempt to clean up most but certainly not all the spelling mistakes that found home in OpenOffice through decades. We could probably blame the international nature of the code but it is somewhat shameful that this wasn't done before.
Notes
Notes: merged as: 820a29950b3085a713026995fdc43e32b6ded5f7
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/impastp4.cxx2
-rw-r--r--xmloff/source/style/styleexp.cxx2
-rw-r--r--xmloff/source/style/xmlaustp.cxx4
-rw-r--r--xmloff/source/style/xmlexppr.cxx2
-rw-r--r--xmloff/source/style/xmlnumfe.cxx2
-rw-r--r--xmloff/source/style/xmlnumfi.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/style/impastp4.cxx b/xmloff/source/style/impastp4.cxx
index 448829d255a6..809e5c7d3d8b 100644
--- a/xmloff/source/style/impastp4.cxx
+++ b/xmloff/source/style/impastp4.cxx
@@ -388,7 +388,7 @@ void SvXMLAutoStylePoolP_Impl::exportXML(
{
/////////////////////////////////////////////////////////////////////////////////////
// create, initialize and fill helper-structure (SvXMLAutoStylePoolProperties_Impl)
- // wich contains a parent-name and a SvXMLAutoStylePoolProperties_Impl
+ // which contains a parent-name and a SvXMLAutoStylePoolProperties_Impl
//
const SvXMLAutoStylePoolParentsP_Impl *pParents =
pFamily->mpParentList;
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx
index bb47f293ccfc..a27c2076c7b9 100644
--- a/xmloff/source/style/styleexp.cxx
+++ b/xmloff/source/style/styleexp.cxx
@@ -520,7 +520,7 @@ void XMLStyleExport::exportStyleFamily(
Reference< XPropertySet > xPropSet( xStyle, UNO_QUERY );
Reference< XPropertySetInfo > xPropSetInfo( xPropSet->getPropertySetInfo() );
- // styles that aren't existing realy are ignored.
+ // styles that aren't existing really are ignored.
if( xPropSetInfo->hasPropertyByName( sIsPhysical ) )
{
Any aAny( xPropSet->getPropertyValue( sIsPhysical ) );
diff --git a/xmloff/source/style/xmlaustp.cxx b/xmloff/source/style/xmlaustp.cxx
index cffb23851bf2..6c133c8aca4b 100644
--- a/xmloff/source/style/xmlaustp.cxx
+++ b/xmloff/source/style/xmlaustp.cxx
@@ -119,7 +119,7 @@ void SvXMLAutoStylePoolP::exportStyleAttributes(
if (bFoundControlShapeDataStyle)
{
DBG_ERROR("SvXMLAutoStylePoolP::exportStyleAttributes: found two properties with the ControlShapeDataStyle context id!");
- // already added the attribute for the first occurence
+ // already added the attribute for the first occurrence
break;
}
@@ -134,7 +134,7 @@ void SvXMLAutoStylePoolP::exportStyleAttributes(
if (bFoundNumberingRulesName)
{
DBG_ERROR("SvXMLAutoStylePoolP::exportStyleAttributes: found two properties with the numbering rules name context id!");
- // already added the attribute for the first occurence
+ // already added the attribute for the first occurrence
break;
}
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx
index da1a1991e5bb..3e8a8e039e19 100644
--- a/xmloff/source/style/xmlexppr.cxx
+++ b/xmloff/source/style/xmlexppr.cxx
@@ -277,7 +277,7 @@ void FilterPropertiesInfo_Impl::AddProperty(
aPropInfos.push_back(FilterPropertyInfo_Impl(rApiName, nIndex));
nCount++;
- OSL_ENSURE( !pApiNames, "perfomance warning: API names already retrieved" );
+ OSL_ENSURE( !pApiNames, "performance warning: API names already retrieved" );
if( pApiNames )
{
delete pApiNames;
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index cc1a43ba7dfc..88f5d741ea76 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -1724,7 +1724,7 @@ void SvXMLNumFmtExport::Export( sal_Bool bIsAutoStyle )
DBG_ASSERT((pFormat->GetType() & NUMBERFORMAT_DEFINED) != 0, "a not user defined numberformat found");
// user-defined and used formats are exported
ExportFormat_Impl( *pFormat, nKey );
- // if it is a user-defined Format it will be added else nothing will hapen
+ // if it is a user-defined Format it will be added else nothing will happen
pUsedList->SetUsed(nKey);
}
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index ccf25b67851e..581718d27ca4 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -842,7 +842,7 @@ void lcl_EnquoteIfNecessary( rtl::OUStringBuffer& rContent, const SvXMLNumFormat
else if ( rParent.GetType() == XML_TOK_STYLES_PERCENTAGE_STYLE && nLength > 1 )
{
// the percent character in percentage styles must be left out of quoting
- // (one occurence is enough even if there are several percent characters in the string)
+ // (one occurrence is enough even if there are several percent characters in the string)
rtl::OUString aString( rContent.getStr() );
sal_Int32 nPos = aString.indexOf( (sal_Unicode) '%' );