summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-02 09:34:30 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-03-02 10:40:27 +0000
commitd0f99b1b39027bcf0fae1b130b60a4c837e854d8 (patch)
treed5ce59abdd55a8f0f077fd51f26b36bb0cb3918d /xmloff
parent5e135c653bd5f3d7b12502d6c7b3cd897ba4b9f4 (diff)
Fix typos
Change-Id: Ibc81246e615d7c68c93e01b84584e78a79bece16 Reviewed-on: https://gerrit.libreoffice.org/34779 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlimp.cxx2
-rw-r--r--xmloff/source/forms/controlelement.hxx2
-rw-r--r--xmloff/source/script/XMLEventExport.cxx2
-rw-r--r--xmloff/source/style/XMLFootnoteSeparatorExport.cxx2
-rw-r--r--xmloff/source/transform/PropertyActionsOOo.cxx2
-rw-r--r--xmloff/source/transform/TransformerBase.cxx4
6 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 7f412abde6d1..3377a16b7a22 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -1263,7 +1263,7 @@ bool SvXMLImport::IsPackageURL( const OUString& rURL ) const
switch( rURL[nPos] )
{
case '/':
- // a relative path segement
+ // a relative path segment
return true;
case ':':
// a schema
diff --git a/xmloff/source/forms/controlelement.hxx b/xmloff/source/forms/controlelement.hxx
index 2063e3c776ae..0ddbed419310 100644
--- a/xmloff/source/forms/controlelement.hxx
+++ b/xmloff/source/forms/controlelement.hxx
@@ -67,7 +67,7 @@ namespace xmloff
public:
/** retrieves the tag name to be used to describe a control of the given type
- <p>The retuned string is the pure element name, without any namespace.</p>
+ <p>The returned string is the pure element name, without any namespace.</p>
@param _eType
the element type
diff --git a/xmloff/source/script/XMLEventExport.cxx b/xmloff/source/script/XMLEventExport.cxx
index c7cb41dabd22..2e9c538ae46a 100644
--- a/xmloff/source/script/XMLEventExport.cxx
+++ b/xmloff/source/script/XMLEventExport.cxx
@@ -165,7 +165,7 @@ void XMLEventExport::ExportExt( Reference<XNameAccess> & rAccess )
bExtNamespace = false; // reset for future Export calls
}
-/// export a singular event and wirte <office:events> container
+/// export a singular event and write <office:events> container
void XMLEventExport::ExportSingleEvent(
Sequence<PropertyValue>& rEventValues,
const OUString& rApiEventName,
diff --git a/xmloff/source/style/XMLFootnoteSeparatorExport.cxx b/xmloff/source/style/XMLFootnoteSeparatorExport.cxx
index 067cdb840217..610f700cd05b 100644
--- a/xmloff/source/style/XMLFootnoteSeparatorExport.cxx
+++ b/xmloff/source/style/XMLFootnoteSeparatorExport.cxx
@@ -54,7 +54,7 @@ void XMLFootnoteSeparatorExport::exportXML(
{
assert(pProperties);
- // intialize values
+ // initialize values
sal_Int16 eLineAdjust = text::HorizontalAdjust_LEFT;
sal_Int32 nLineColor = 0;
sal_Int32 nLineDistance = 0;
diff --git a/xmloff/source/transform/PropertyActionsOOo.cxx b/xmloff/source/transform/PropertyActionsOOo.cxx
index 21d6e05b5fb4..092b26629d41 100644
--- a/xmloff/source/transform/PropertyActionsOOo.cxx
+++ b/xmloff/source/transform/PropertyActionsOOo.cxx
@@ -761,7 +761,7 @@ XMLTransformerActionInit aParagraphPropertyOOoAttrActionTable[] =
{ XML_NAMESPACE_STYLE, XML_FONT_INDEPENDENT_LINE_SPACING, XML_ATACTION_COPY,
NO_PARAMS },
{ XML_NAMESPACE_STYLE, XML_DEFAULT_OUTLINE_LEVEL, XML_ATACTION_REMOVE,
- NO_PARAMS }, /* i41811: style-default-outline was exported as propery */
+ NO_PARAMS }, /* i41811: style-default-outline was exported as property */
{ XML_NAMESPACE_OFFICE, XML_TOKEN_INVALID, XML_ATACTION_EOT, NO_PARAMS }
};
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index 351b39e91f35..cafbc9ac265a 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -1284,7 +1284,7 @@ bool XMLTransformerBase::ConvertURIToOASIS( OUString& rURI,
switch( rURI[nPos] )
{
case '/':
- // a relative path segement
+ // a relative path segment
nPos = nLen; // leave loop
break;
case ':':
@@ -1349,7 +1349,7 @@ bool XMLTransformerBase::ConvertURIToOOo( OUString& rURI,
switch( rURI[nPos] )
{
case '/':
- // a relative path segement within the package
+ // a relative path segment within the package
nPos = nLen; // leave loop
break;
case ':':