summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/chart/MultiPropertySetHandler.hxx2
-rw-r--r--xmloff/source/chart/PropertyMap.hxx2
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx4
-rw-r--r--xmloff/source/core/xmlerror.cxx6
-rw-r--r--xmloff/source/core/xmlexp.cxx2
-rw-r--r--xmloff/source/core/xmlimp.cxx2
-rw-r--r--xmloff/source/draw/eventimp.cxx2
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx2
-rw-r--r--xmloff/source/draw/shapeexport2.cxx6
-rw-r--r--xmloff/source/draw/shapeexport3.cxx2
-rw-r--r--xmloff/source/draw/ximpcustomshape.cxx2
-rw-r--r--xmloff/source/forms/elementimport.cxx2
-rw-r--r--xmloff/source/forms/eventimport.hxx2
-rw-r--r--xmloff/source/forms/formcellbinding.hxx2
-rw-r--r--xmloff/source/forms/layerexport.cxx2
-rw-r--r--xmloff/source/forms/layerexport.hxx2
-rw-r--r--xmloff/source/forms/propertyexport.cxx2
-rw-r--r--xmloff/source/forms/propertyexport.hxx10
-rw-r--r--xmloff/source/meta/xmlversion.cxx2
-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
-rw-r--r--xmloff/source/table/XMLTableExport.cxx4
-rw-r--r--xmloff/source/text/XMLChangedRegionImportContext.hxx2
-rw-r--r--xmloff/source/text/XMLSectionExport.cxx2
-rw-r--r--xmloff/source/text/XMLSectionImportContext.cxx2
-rw-r--r--xmloff/source/text/XMLSectionImportContext.hxx2
-rw-r--r--xmloff/source/text/XMLTextFrameContext.cxx2
-rw-r--r--xmloff/source/text/txtflde.cxx14
-rw-r--r--xmloff/source/text/txtfldi.cxx8
-rw-r--r--xmloff/source/text/txtimp.cxx2
-rw-r--r--xmloff/source/text/txtparae.cxx4
-rw-r--r--xmloff/source/text/txtparai.cxx6
-rw-r--r--xmloff/source/text/txtprmap.cxx2
-rw-r--r--xmloff/source/text/txtvfldi.cxx6
-rw-r--r--xmloff/source/transform/OOo2Oasis.cxx2
-rw-r--r--xmloff/source/transform/Oasis2OOo.cxx2
-rw-r--r--xmloff/source/transform/TransformerBase.cxx2
-rw-r--r--xmloff/source/transform/TransformerBase.hxx2
42 files changed, 67 insertions, 67 deletions
diff --git a/xmloff/source/chart/MultiPropertySetHandler.hxx b/xmloff/source/chart/MultiPropertySetHandler.hxx
index aa1aa881a4c6..aa8588656414 100644
--- a/xmloff/source/chart/MultiPropertySetHandler.hxx
+++ b/xmloff/source/chart/MultiPropertySetHandler.hxx
@@ -132,7 +132,7 @@ public:
/** @descr Create a handler of the property set of the given
object.
@param xObject A reference to any of the object's interfaces.
- not neccessarily XPropertySet or XMultiPropertySet. It
+ not necessarily XPropertySet or XMultiPropertySet. It
is casted later to one of the two of them.
*/
MultiPropertySetHandler (::com::sun::star::uno::Reference<
diff --git a/xmloff/source/chart/PropertyMap.hxx b/xmloff/source/chart/PropertyMap.hxx
index 0d7f0c75ea95..14625d460f8b 100644
--- a/xmloff/source/chart/PropertyMap.hxx
+++ b/xmloff/source/chart/PropertyMap.hxx
@@ -201,7 +201,7 @@ const XMLPropertyMapEntry aXMLChartPropMap[] =
MAP_SPECIAL( "TextRotation", STYLE, XML_ROTATION_ANGLE, XML_TYPE_NUMBER, XML_SCH_CONTEXT_SPECIAL_TEXT_ROTATION ), // convert 1/100th degrees to degrees
MAP_ENTRY( "StackedText", STYLE, XML_DIRECTION, XML_SCH_TYPE_TEXT_ORIENTATION ),
- // for compatability to pre 6.0beta documents
+ // for compatibility to pre 6.0beta documents
// MAP_SPECIAL( "SymbolBitmapURL", CHART, XML_SYMBOL_IMAGE_NAME, XML_TYPE_STRING, XML_SCH_CONTEXT_SPECIAL_SYMBOL_IMAGE_NAME ),
MAP_ENTRY( "ChartUserDefinedAttributes", TEXT, XML_XMLNS, XML_TYPE_ATTRIBUTE_CONTAINER | MID_FLAG_SPECIAL_ITEM ),
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 1dec96c39cf1..da46621569d8 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -1567,7 +1567,7 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >&
if( mxAdditionalShapes.is())
{
// can't call exportShapes with all shapes because the
- // initialisation happend with the complete draw page and not
+ // initialisation happened with the complete draw page and not
// the XShapes object used here. Thus the shapes have to be
// exported one by one
UniReference< XMLShapeExport > rShapeExport = mrExport.GetShapeExport();
@@ -1622,7 +1622,7 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >&
}
// can't call collectShapesAutoStyles with all shapes because
- // the initialisation happend with the complete draw page and
+ // the initialisation happened with the complete draw page and
// not the XShapes object used here. Thus the shapes have to be
// exported one by one
UniReference< XMLShapeExport > rShapeExport = mrExport.GetShapeExport();
diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx
index 1a0e6a2b3c3a..69bd20b4db6d 100644
--- a/xmloff/source/core/xmlerror.cxx
+++ b/xmloff/source/core/xmlerror.cxx
@@ -69,8 +69,8 @@ public:
OUString sExceptionMessage;/// message of original exception (if available)
// XLocator information:
- sal_Int32 nRow; /// row number where error occured (or -1 for unknown)
- sal_Int32 nColumn; /// column number where error occured (or -1)
+ sal_Int32 nRow; /// row number where error occurred (or -1 for unknown)
+ sal_Int32 nColumn; /// column number where error occurred (or -1)
OUString sPublicId; /// public identifier
OUString sSystemId; /// public identifier
@@ -125,7 +125,7 @@ void XMLErrors::AddRecord(
OUStringBuffer sMessage;
- sMessage.appendAscii( "An error or a warning has occured during XML import/export!\n" );
+ sMessage.appendAscii( "An error or a warning has occurred during XML import/export!\n" );
// ID & flags
sMessage.appendAscii( "Error-Id: 0x");
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 3f48d7dba30e..9112166bd076 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -946,7 +946,7 @@ sal_Bool SAL_CALL SvXMLExport::filter( const uno::Sequence< beans::PropertyValue
aSeq, e.Message, NULL );
}
- // return true only if no error occured
+ // return true only if no error occurred
return (GetErrorFlags() & (ERROR_DO_NOTHING|ERROR_ERROR_OCCURED)) == 0;
}
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index bdeda8366cf5..ed497af5b508 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -828,7 +828,7 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName,
pContext->AddRef();
- // Remeber old namespace map.
+ // Remember old namespace map.
if( pRewindMap )
pContext->SetRewindMap( pRewindMap );
diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx
index e825ad832d52..73fbe7bfc93d 100644
--- a/xmloff/source/draw/eventimp.cxx
+++ b/xmloff/source/draw/eventimp.cxx
@@ -465,7 +465,7 @@ void SdXMLEventContext::EndElement()
pProperties++;
// ClickAction_BOOKMARK and ClickAction_DOCUMENT share the same xml event
- // so check here if its realy a bookmark or maybe a document
+ // so check here if its really a bookmark or maybe a document
if( meClickAction == ClickAction_BOOKMARK )
{
if( msBookmark.compareToAscii( "#", 1 ) != 0 )
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index c23db9de22b5..b754a46feaa6 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -897,7 +897,7 @@ sal_Bool SdXMLExport::ImpPrepAutoLayoutInfo(const Reference<XDrawPage>& xPage, O
}
}
- // create entry and look for existance
+ // create entry and look for existence
ImpXMLAutoLayoutInfo* pNew = new ImpXMLAutoLayoutInfo(nType, pInfo);
sal_Bool bDidExist(sal_False);
diff --git a/xmloff/source/draw/shapeexport2.cxx b/xmloff/source/draw/shapeexport2.cxx
index a94862f3b8fb..e31e59f91cc6 100644
--- a/xmloff/source/draw/shapeexport2.cxx
+++ b/xmloff/source/draw/shapeexport2.cxx
@@ -176,7 +176,7 @@ void XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite(::basegfx::B2DTuple& rTR
aStr = sStringBuffer.makeStringAndClear();
mrExport.AddAttribute(XML_NAMESPACE_SVG, XML_HEIGHT, aStr);
- // decide if transformation is neccessary
+ // decide if transformation is necessary
sal_Bool bTransformationIsNeccessary(fTRShear != 0.0 || fTRRotate != 0.0);
if(bTransformationIsNeccessary)
@@ -644,7 +644,7 @@ void XMLShapeExport::ImpExportGroupShape( const uno::Reference< drawing::XShape
ImpExportEvents( xShape );
ImpExportGluePoints( xShape );
- // #89764# if export of position is supressed for group shape,
+ // #89764# if export of position is suppressed for group shape,
// positions of contained objects should be written relative to
// the upper left edge of the group.
awt::Point aUpperLeft;
@@ -1603,7 +1603,7 @@ void XMLShapeExport::ImpExportOLE2Shape(
if ( bInternal )
{
- // OOo internal links have no storage persistance, URL is stored in the XML file
+ // OOo internal links have no storage persistence, URL is stored in the XML file
// the result LinkURL is empty in case the object is not a link
xPropSet->getPropertyValue( OUString::createFromAscii( "LinkURL" ) ) >>= sURL;
}
diff --git a/xmloff/source/draw/shapeexport3.cxx b/xmloff/source/draw/shapeexport3.cxx
index 9e1c99efe0e3..f9e071e35885 100644
--- a/xmloff/source/draw/shapeexport3.cxx
+++ b/xmloff/source/draw/shapeexport3.cxx
@@ -81,7 +81,7 @@ void XMLShapeExport::ImpExport3DSceneShape( const uno::Reference< drawing::XShap
// write 3DSceneLights
export3DLamps( xPropSet );
- // #89764# if export of position is supressed for group shape,
+ // #89764# if export of position is suppressed for group shape,
// positions of contained objects should be written relative to
// the upper left edge of the group.
awt::Point aUpperLeft;
diff --git a/xmloff/source/draw/ximpcustomshape.cxx b/xmloff/source/draw/ximpcustomshape.cxx
index 96d82a072d04..6391cb9335f7 100644
--- a/xmloff/source/draw/ximpcustomshape.cxx
+++ b/xmloff/source/draw/ximpcustomshape.cxx
@@ -868,7 +868,7 @@ void XMLEnhancedCustomShapeContext::StartElement( const uno::Reference< xml::sax
// entries for CustomShapes. To allow for a better ODF user experience, just correct this
// here by getting the real object scale from the already set transformation from the xShape.
// Hopefully LO will fix that bug (but this will still leave the files with the error), but
- // even when not this will do no harm as long noone uses this state explicitely for some
+ // even when not this will do no harm as long no one uses this state explicitely for some
// purpose (e.g. to really have CustomShapes without content, but unlikely).
// When they do fix this they will need this fix anyways to read their own misformed ODF files
// again, so I guess it will be taken, too...
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index d02824c63eb2..672d9a79207a 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -1937,7 +1937,7 @@ namespace xmloff
//---------------------------------------------------------------------
void OColumnWrapperImport::StartElement(const Reference< sax::XAttributeList >& _rxAttrList)
{
- OSL_ENSURE(!m_xOwnAttributes.is(), "OColumnWrapperImport::StartElement: aready have the cloned list!");
+ OSL_ENSURE(!m_xOwnAttributes.is(), "OColumnWrapperImport::StartElement: already have the cloned list!");
// clone the attributes
Reference< XCloneable > xCloneList(_rxAttrList, UNO_QUERY);
diff --git a/xmloff/source/forms/eventimport.hxx b/xmloff/source/forms/eventimport.hxx
index bf2285309274..76a9a545ab49 100644
--- a/xmloff/source/forms/eventimport.hxx
+++ b/xmloff/source/forms/eventimport.hxx
@@ -63,7 +63,7 @@ namespace xmloff
OPropertySetCompare, // compare method
MapPropertySet2ScriptSequence); // class name
// usually an event attacher manager will need to collect all script events registered, 'cause
- // the _real_ XEventAttacherManager handles it's events by index, but out indicies are not fixed
+ // the _real_ XEventAttacherManager handles it's events by index, but out indices are not fixed
// until _all_ controls have been inserted.
MapPropertySet2ScriptSequence m_aEvents;
diff --git a/xmloff/source/forms/formcellbinding.hxx b/xmloff/source/forms/formcellbinding.hxx
index 4974a3b54ceb..06d2a98f4b5e 100644
--- a/xmloff/source/forms/formcellbinding.hxx
+++ b/xmloff/source/forms/formcellbinding.hxx
@@ -254,7 +254,7 @@ namespace xmloff
the AddressConversion service
@return
- <TRUE/> if any only if the conversion was successfull
+ <TRUE/> if any only if the conversion was successful
@see com::sun::star::table::CellAddressConversion
@see com::sun::star::table::CellRangeAddressConversion
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index 481cc6582d1e..b7fe010d847a 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -387,7 +387,7 @@ namespace xmloff
// (This behaviour of examineForms is a performance optimization, to not force
// the page to create a forms container just to see that it's empty.)
- // So, in such a case, seekPage is considered to be successfull, too, though the
+ // So, in such a case, seekPage is considered to be successful, too, though the
// page was not yet known
Reference< XFormsSupplier2 > xFormsSupp( _rxDrawPage, UNO_QUERY );
if ( xFormsSupp.is() && !xFormsSupp->hasForms() )
diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx
index 46e19257ff3a..088a3a49e7d9 100644
--- a/xmloff/source/forms/layerexport.hxx
+++ b/xmloff/source/forms/layerexport.hxx
@@ -103,7 +103,7 @@ namespace xmloff
MapPropertySet2Map m_aReferringControls;
// for a given page (iter->first), and a given control (iter->second->first), this is the comma-separated
- // lists of ids of the controls refering to the control given.
+ // lists of ids of the controls referring to the control given.
MapPropertySet2Map::iterator
m_aCurrentPageIds;
diff --git a/xmloff/source/forms/propertyexport.cxx b/xmloff/source/forms/propertyexport.cxx
index 6eca48512cb2..342e84504c8e 100644
--- a/xmloff/source/forms/propertyexport.cxx
+++ b/xmloff/source/forms/propertyexport.cxx
@@ -284,7 +284,7 @@ namespace xmloff
const ::rtl::OUString& _rPropertyName, const sal_Int8 _nBooleanAttributeFlags)
{
DBG_CHECK_PROPERTY_NO_TYPE( _rPropertyName );
- // no check of the property value type: this method is allowed to be called with any interger properties
+ // no check of the property value type: this method is allowed to be called with any integer properties
// (e.g. sal_Int32, sal_uInt16 etc)
sal_Bool bDefault = (BOOLATTR_DEFAULT_TRUE == (BOOLATTR_DEFAULT_MASK & _nBooleanAttributeFlags));
diff --git a/xmloff/source/forms/propertyexport.hxx b/xmloff/source/forms/propertyexport.hxx
index f7a99388900c..43be20ff9fce 100644
--- a/xmloff/source/forms/propertyexport.hxx
+++ b/xmloff/source/forms/propertyexport.hxx
@@ -44,7 +44,7 @@ namespace xmloff
#define BOOLATTR_DEFAULT_MASK 0x03
#define BOOLATTR_INVERSE_SEMANTICS 0x04
- // if sal_True, indicates that the semantic of the property refered by <arg>_pPropertyName</arg>
+ // if sal_True, indicates that the semantic of the property referred by <arg>_pPropertyName</arg>
// is inverse to the semantic of the XML attribute.<br/>
// I.e. if the property value is <TRUE/>, <FALSE/> has to be written and vice versa.
// <p>Be careful with <arg>_bDefault</arg> and <arg>_bInverseSemantics</arg>: if <arg>_bInverseSemantics</arg>
@@ -251,7 +251,7 @@ namespace xmloff
/** add an arbitrary attribute extracted from an arbitrary property to the export context
- <p>The current value of the property specified wiht <arg>_pPropertyName</arg> is taken and converted
+ <p>The current value of the property specified with <arg>_pPropertyName</arg> is taken and converted
into a string, no matter what type it has. (Okay, there are the usual limitations: We know Date, Datetime,
double, integer ... to name just a few).</p>
@@ -280,13 +280,13 @@ namespace xmloff
/** exports a property value, which is a string sequence, as attribute
<p>The elements of the string sequence given are quoted and concatenated, with the characters used for
- this to be choosen by the caller</p>
+ this to be chosen by the caller</p>
<p>If you use the quote character, no check (except assertions) is made if one of the list items
- containes the quote character</p>
+ contains the quote character</p>
<p>If you don't use the quote character, no check (except assertions) is made if one of the list items
- containes the separator character (which would be deadly when reimporting the string)</p>
+ contains the separator character (which would be deadly when reimporting the string)</p>
@param _nNamespaceKey
the key of the namespace to use for the attribute name. Is used with the namespace map
diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx
index e41d3583830b..6bc1caadae62 100644
--- a/xmloff/source/meta/xmlversion.cxx
+++ b/xmloff/source/meta/xmlversion.cxx
@@ -387,7 +387,7 @@ void SAL_CALL XMLVersionListPersistence::store( const uno::Reference< embed::XSt
if ( !xVerStream.is() )
throw uno::RuntimeException();
-//REMOVE // SetSize should not be neccessary because OpenStream( WRITE|TRUNC ) should already
+//REMOVE // SetSize should not be necessary because OpenStream( WRITE|TRUNC ) should already
//REMOVE // have set the size to zero
//REMOVE // xVerStream->SetSize ( 0L );
//REMOVE xVerStream->SetBufferSize( 16*1024 );
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) '%' );
diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx
index f790049cf709..056939f9fcf4 100644
--- a/xmloff/source/table/XMLTableExport.cxx
+++ b/xmloff/source/table/XMLTableExport.cxx
@@ -268,7 +268,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
Reference< XCellRange > xCellRange( xPropSet, UNO_QUERY_THROW );
for ( sal_Int32 nColumn = 0; nColumn < nColumnCount; ++nColumn )
{
- // get current cell, remarks row index is 0, because we get the range for each row seperate
+ // get current cell, remarks row index is 0, because we get the range for each row separate
Reference< XPropertySet > xCellSet( xCellRange->getCellByPosition(nColumn, 0), UNO_QUERY_THROW );
// get style
@@ -369,7 +369,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
for ( sal_Int32 columnIndex = 0; columnIndex < columnCount; columnIndex++ )
{
- // get current cell, remarks row index is 0, because we get the range for each row seperate
+ // get current cell, remarks row index is 0, because we get the range for each row separate
Reference< XCell > xCell( xCellRange->getCellByPosition(columnIndex, 0), UNO_QUERY_THROW );
// use XMergeableCell interface from offapi
diff --git a/xmloff/source/text/XMLChangedRegionImportContext.hxx b/xmloff/source/text/XMLChangedRegionImportContext.hxx
index 8383836cc801..582a77078493 100644
--- a/xmloff/source/text/XMLChangedRegionImportContext.hxx
+++ b/xmloff/source/text/XMLChangedRegionImportContext.hxx
@@ -47,7 +47,7 @@ class XMLChangedRegionImportContext : public SvXMLImportContext
const ::rtl::OUString sEmpty;
/// if we replace the current XTextCursor/XText by the ones for
- /// the redline, we remeber the old cursor here.
+ /// the redline, we remember the old cursor here.
::com::sun::star::uno::Reference<
::com::sun::star::text::XTextCursor> xOldCursor;
diff --git a/xmloff/source/text/XMLSectionExport.cxx b/xmloff/source/text/XMLSectionExport.cxx
index 3414d6ca0008..aded76027671 100644
--- a/xmloff/source/text/XMLSectionExport.cxx
+++ b/xmloff/source/text/XMLSectionExport.cxx
@@ -891,7 +891,7 @@ void XMLSectionExport::ExportBaseIndexSource(
aAny = xLevelTemplates->getByIndex(i);
aAny >>= aTemplateSequence;
- // export the sequence (abort export if an error occured; #91214#)
+ // export the sequence (abort export if an error occurred; #91214#)
sal_Bool bResult =
ExportIndexTemplate(eType, i, rPropertySet, aTemplateSequence);
if ( !bResult )
diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx
index 54f61844dfb9..6045dbfb8954 100644
--- a/xmloff/source/text/XMLSectionImportContext.cxx
+++ b/xmloff/source/text/XMLSectionImportContext.cxx
@@ -181,7 +181,7 @@ void XMLSectionImportContext::StartElement(
xPropSet->setPropertyValue( sIsVisible, aAny );
// #97450# hidden sections must be hidden on reload
- // For backwards compatibilty, set flag only if it is
+ // For backwards compatibility, set flag only if it is
// present
if( bIsCurrentlyVisibleOK )
{
diff --git a/xmloff/source/text/XMLSectionImportContext.hxx b/xmloff/source/text/XMLSectionImportContext.hxx
index 1622f776991d..f3141193aafa 100644
--- a/xmloff/source/text/XMLSectionImportContext.hxx
+++ b/xmloff/source/text/XMLSectionImportContext.hxx
@@ -45,7 +45,7 @@ class XMLTextImportHelper;
*/
class XMLSectionImportContext : public SvXMLImportContext
{
- /// start position; ranges aquired via getStart(),getEnd() don't move
+ /// start position; ranges acquired via getStart(),getEnd() don't move
::com::sun::star::uno::Reference<
::com::sun::star::text::XTextRange> xStartRange;
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx
index ac27044d003a..6e9eb07fb18b 100644
--- a/xmloff/source/text/XMLTextFrameContext.cxx
+++ b/xmloff/source/text/XMLTextFrameContext.cxx
@@ -554,7 +554,7 @@ void XMLTextFrameContext_Impl::Create( sal_Bool /*bHRefOrBase64*/ )
}
else
{
- // it should be an own OOo link that has no storage persistance
+ // it should be an own OOo link that has no storage persistence
xPropSet = GetImport().GetTextImport()
->createAndInsertOOoLink( GetImport(),
sURL,
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index 26aaf1e0205c..2cc05815454e 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -752,7 +752,7 @@ sal_Bool XMLTextFieldExport::IsStringField(
case FIELD_ID_DRAW_FOOTER:
case FIELD_ID_DRAW_DATE_TIME:
default:
- DBG_ERROR("unkown field type/field has no content");
+ DBG_ERROR("unknown field type/field has no content");
return sal_True; // invalid info; string in case of doubt
}
}
@@ -971,7 +971,7 @@ void XMLTextFieldExport::ExportFieldAutoStyle(
case FIELD_ID_UNKNOWN:
default:
- DBG_ERROR("unkown field type!");
+ DBG_ERROR("unknown field type!");
// ignore -> no format for unkowns
break;
}
@@ -1869,7 +1869,7 @@ void XMLTextFieldExport::ExportFieldHelper(
case FIELD_ID_UNKNOWN:
default:
- DBG_ERROR("unkown field type encountered!");
+ DBG_ERROR("unknown field type encountered!");
// always export content
GetExport().Characters(sPresentation);
}
@@ -2973,8 +2973,8 @@ enum XMLTokenEnum XMLTextFieldExport::MapPlaceholderType(sal_uInt16 nType)
break;
default:
- // unkown placeholder: XML_TEXT
- DBG_ERROR("unkown placeholder type");
+ // unknown placeholder: XML_TEXT
+ DBG_ERROR("unknown placeholder type");
}
return eType;
@@ -3115,7 +3115,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapChapterDisplayFormat(sal_Int16 nFormat)
eName = XML_PLAIN_NUMBER;
break;
default:
- DBG_ERROR("unkown chapter display format");
+ DBG_ERROR("unknown chapter display format");
eName = XML_TOKEN_INVALID;
break;
}
@@ -3225,7 +3225,7 @@ enum XMLTokenEnum XMLTextFieldExport::MapReferenceSource(sal_Int16 nType)
eElement = XML_NOTE_REF;
break;
default:
- DBG_ERROR("unkown reference source");
+ DBG_ERROR("unknown reference source");
break;
}
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 090f7fc44680..2da067eab248 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -715,7 +715,7 @@ void XMLSenderFieldImportContext::ProcessAttribute(
sal_Bool bRet = GetImport().GetMM100UnitConverter().
convertBool(bVal, sAttrValue);
- // set bFixed if successfull
+ // set bFixed if successful
if (bRet) {
bFixed = bVal;
}
@@ -1390,7 +1390,7 @@ SvXMLImportContext* XMLDatabaseFieldImportContext::CreateChildContext(
}
}
- // we call ProcessAttribute in order to set bValid appropriatly
+ // we call ProcessAttribute in order to set bValid appropriately
ProcessAttribute( XML_TOKEN_INVALID, OUString() );
}
@@ -2314,7 +2314,7 @@ void XMLFileNameImportContext::ProcessAttribute(
break;
}
default:
- ; // unkown attribute: ignore
+ ; // unknown attribute: ignore
break;
}
}
@@ -3135,7 +3135,7 @@ void XMLDdeFieldDeclImportContext::StartElement(
UNO_QUERY);
if( xFactory.is() )
{
- /* #i6432# There might be multiple occurances of one DDE
+ /* #i6432# There might be multiple occurrences of one DDE
declaration if it is used in more than one of
header/footer/body. createInstance will throw an exception if we
try to create the second, third, etc. instance of such a
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index fdd6324bcf32..08c042c825b5 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -2094,7 +2094,7 @@ void XMLTextImportHelper::SetOutlineStyles( sal_Bool bSetEmptyLevels )
const sal_Int32 nCount = m_pImpl->m_xChapterNumbering->getCount();
// --> OD 2009-11-13 #i106218#
- // First collect all paragraph styles choosen for assignment to each
+ // First collect all paragraph styles chosen for assignment to each
// list level of the outline style, then perform the intrinsic assignment.
// Reason: The assignment of a certain paragraph style to a list level
// of the outline style causes side effects on the children
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index c57a6a4bbf88..2b07952c2fef 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -2169,7 +2169,7 @@ void XMLTextParagraphExport::exportParagraph(
{
// For the auto styles, the multi property set helper is only used
// if hard attributes are existing. Therfor, it seems to be a better
- // strategy to have the TextSection property seperate, because otherwise
+ // strategy to have the TextSection property separate, because otherwise
// we always retrieve the style names even if they are not required.
if( bAutoStyles )
{
@@ -3381,7 +3381,7 @@ void XMLTextParagraphExport::exportText( const OUString& rText,
}
// If there are spaces left that have not been exported and the
- // current chracter is not a space , the pending spaces have to be
+ // current character is not a space , the pending spaces have to be
// exported now.
if( nSpaceChars > 0 && !bCurrCharIsSpace )
{
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index 9b9a8f08fda3..7560e50cb5de 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -1076,9 +1076,9 @@ protected:
Reference<beans::XPropertySet>& rPropSet);
/**
- * All marks can be created immediatly. Since we don't care about
+ * All marks can be created immediately. Since we don't care about
* the element content, ProcessAttribute should set the properties
- * immediatly.
+ * immediately.
*
* This method tolerates an empty PropertySet; subclasses however
* are not expected to.
@@ -2091,7 +2091,7 @@ XMLParaContext::~XMLParaContext()
xTxtImport->FindOutlineStyleName( sStyleName, nOutlineLevel );
// set style and hard attributes at the previous paragraph
- // --> OD 2007-07-25 #i73509# - add paramter <mbOutlineLevelAttrFound>
+ // --> OD 2007-07-25 #i73509# - add parameter <mbOutlineLevelAttrFound>
sStyleName = xTxtImport->SetStyleAndAttrs( GetImport(), xAttrCursor,
sStyleName,
sal_True,
diff --git a/xmloff/source/text/txtprmap.cxx b/xmloff/source/text/txtprmap.cxx
index 45b76975f6d3..26587c73b3a6 100644
--- a/xmloff/source/text/txtprmap.cxx
+++ b/xmloff/source/text/txtprmap.cxx
@@ -257,7 +257,7 @@ XMLPropertyMapEntry aXMLParaPropMap[] =
// RES_PARATR_WIDOWS
MP_E( "ParaWidows", FO, WIDOWS, XML_TYPE_NUMBER8, 0 ),
// RES_PARATR_TABSTOP
- MP_ED( "ParaTabStops", STYLE, TAB_STOPS, MID_FLAG_ELEMENT_ITEM|XML_TYPE_TEXT_TABSTOP, CTF_TABSTOP ), // this is not realy a string!
+ MP_ED( "ParaTabStops", STYLE, TAB_STOPS, MID_FLAG_ELEMENT_ITEM|XML_TYPE_TEXT_TABSTOP, CTF_TABSTOP ), // this is not really a string!
// RES_PARATR_HYPHENZONE
MT_E( "ParaIsHyphenation", FO, HYPHENATE, XML_TYPE_BOOL, 0 ),
MT_E( "ParaHyphenationMaxLeadingChars", FO, HYPHENATION_REMAIN_CHAR_COUNT, XML_TYPE_NUMBER16, 0 ),
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx
index 6ca7b568dec7..7590c77296b7 100644
--- a/xmloff/source/text/txtvfldi.cxx
+++ b/xmloff/source/text/txtvfldi.cxx
@@ -943,7 +943,7 @@ XMLVariableDeclImportContext::XMLVariableDeclImportContext(
break;
}
default:
- DBG_ERROR("unkown varfield type");
+ DBG_ERROR("unknown varfield type");
} // switch
} // else: no field master found/constructed
} // else: no sequence-decl
@@ -1003,7 +1003,7 @@ sal_Bool XMLVariableDeclImportContext::FindFieldMaster(
{
OUString sNew;
- // FIXME! cant find if name is taken already!!!!
+ // FIXME! can't find if name is taken already!!!!
nCollisionCount++;
OUStringBuffer aBuf;
@@ -1028,7 +1028,7 @@ sal_Bool XMLVariableDeclImportContext::FindFieldMaster(
// find new name that is not taken
OUString sNew;
- // FIXME! cant find if name is taken already!!!!
+ // FIXME! can't find if name is taken already!!!!
nCollisionCount++;
OUStringBuffer aBuf;
diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx
index 31d03f496465..6f204b735881 100644
--- a/xmloff/source/transform/OOo2Oasis.cxx
+++ b/xmloff/source/transform/OOo2Oasis.cxx
@@ -719,7 +719,7 @@ static XMLTransformerActionInit aStyleRefActionTable[] =
// OOO_SHAPE_ACTIONS
// !!ATTENTION!! If you change something here, please also change
-// aConnectorActionTable if apropriate
+// aConnectorActionTable if appropriate
static XMLTransformerActionInit aShapeActionTable[] =
{
ENTRY0( SVG, X, XML_ATACTION_INCH2IN ),
diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx
index 1ef69dcd73cc..d3d1b1a155d1 100644
--- a/xmloff/source/transform/Oasis2OOo.cxx
+++ b/xmloff/source/transform/Oasis2OOo.cxx
@@ -729,7 +729,7 @@ static XMLTransformerActionInit aParaActionTable[] =
};
// !!ATTENTION!! If you change something here, please also change
-// aConnectorActionTable if apropriate
+// aConnectorActionTable if appropriate
static XMLTransformerActionInit aShapeActionTable[] =
{
ENTRY1( DRAW, STYLE_NAME, XML_ATACTION_DECODE_STYLE_NAME_REF,
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index 264671c54b32..90f2a9c351a8 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -321,7 +321,7 @@ void SAL_CALL XMLTransformerBase::startElement( const OUString& rName,
if( !xContext.is() )
xContext = new XMLTransformerContext( *this, rName );
- // Remeber old namespace map.
+ // Remember old namespace map.
if( pRewindMap )
xContext->SetRewindMap( pRewindMap );
diff --git a/xmloff/source/transform/TransformerBase.hxx b/xmloff/source/transform/TransformerBase.hxx
index 5ceebe431c56..28e63883ae98 100644
--- a/xmloff/source/transform/TransformerBase.hxx
+++ b/xmloff/source/transform/TransformerBase.hxx
@@ -85,7 +85,7 @@ protected:
// this method may return an empty reference when the transformer service
// was created outside the xmloff environment.
- // It is strictly forbiden to use this as a write access to the model!
+ // It is strictly forbidden to use this as a write access to the model!
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& getModel() const { return mxModel; }
public: