summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:26:18 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-07-03 09:14:23 +0000
commit1c5f07e60cfd81f27ad3aea0b56634554f3ef5a9 (patch)
treeb3483c88ce443c8e8764b11782be236fc2e0170a /xmloff/source
parent87dc6c82d5cd174ae2384b66a203a93402b43291 (diff)
Fix typos
Change-Id: I98b4dfb0f72f315065693335e2f882bb2eed3afe Reviewed-on: https://gerrit.libreoffice.org/16713 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/chart/contexts.hxx2
-rw-r--r--xmloff/source/core/DomBuilderContext.cxx2
-rw-r--r--xmloff/source/draw/ximpshap.cxx2
-rw-r--r--xmloff/source/forms/attriblistmerge.hxx2
-rw-r--r--xmloff/source/forms/elementimport.cxx2
-rw-r--r--xmloff/source/script/XMLStarBasicContextFactory.cxx2
-rw-r--r--xmloff/source/style/xmlaustp.cxx2
-rw-r--r--xmloff/source/text/XMLIndexTabStopEntryContext.cxx2
-rw-r--r--xmloff/source/text/XMLTextFrameContext.cxx2
-rw-r--r--xmloff/source/text/XMLTextHeaderFooterContext.cxx2
-rw-r--r--xmloff/source/text/txtflde.cxx2
-rw-r--r--xmloff/source/text/txtfldi.cxx6
-rw-r--r--xmloff/source/text/txtprmap.cxx2
-rw-r--r--xmloff/source/transform/Oasis2OOo.cxx2
14 files changed, 16 insertions, 16 deletions
diff --git a/xmloff/source/chart/contexts.hxx b/xmloff/source/chart/contexts.hxx
index e32f1097a371..102d64e4fed1 100644
--- a/xmloff/source/chart/contexts.hxx
+++ b/xmloff/source/chart/contexts.hxx
@@ -31,7 +31,7 @@ namespace com { namespace sun { namespace star { namespace xml { namespace sax {
}}}}}
/*
- These contexts are only nedded by
+ These contexts are only needed by
SchXMLImport not by the SchXMLImportHelper
that is also used by other applications
*/
diff --git a/xmloff/source/core/DomBuilderContext.cxx b/xmloff/source/core/DomBuilderContext.cxx
index d3a577af35f0..77dfda09a611 100644
--- a/xmloff/source/core/DomBuilderContext.cxx
+++ b/xmloff/source/core/DomBuilderContext.cxx
@@ -122,7 +122,7 @@ void DomBuilderContext::StartElement(
const OUString& rName = xAttrList->getNameByIndex( i );
const OUString& rValue = xAttrList->getValueByIndex( i );
- // namespace handling: determine namespace & namespace keykey
+ // namespace handling: determine namespace & namespace key
OUString sNamespace;
sal_uInt16 nNamespaceKey =
GetImport().GetNamespaceMap()._GetKeyByAttrName(
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index ef359f82b089..c9ad9f57fea7 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -1137,7 +1137,7 @@ void SdXMLLineShapeContext::processAttribute( sal_uInt16 nPrefix, const OUString
void SdXMLLineShapeContext::StartElement(const uno::Reference< xml::sax::XAttributeList>& xAttrList)
{
// #85920# use SetTransformation() to handle import of simple lines.
- // This is necessary to kake into account all anchor positions and
+ // This is necessary to take into account all anchor positions and
// other things. All shape imports use the same import schemata now.
// create necessary shape (Line Shape)
AddShape("com.sun.star.drawing.PolyLineShape");
diff --git a/xmloff/source/forms/attriblistmerge.hxx b/xmloff/source/forms/attriblistmerge.hxx
index 6d63d0180e69..576db3295a07 100644
--- a/xmloff/source/forms/attriblistmerge.hxx
+++ b/xmloff/source/forms/attriblistmerge.hxx
@@ -51,7 +51,7 @@ namespace xmloff
OAttribListMerger() { }
// attribute list handling
- // (very thinn at the moment ... only adding lists is allowed ... add more if you need it :)
+ // (very thin at the moment... only adding lists is allowed... add more if you need it :)
void addList(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& _rList);
// XAttributeList
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 8aed521fd350..f69a4cf3b82f 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -2018,7 +2018,7 @@ namespace xmloff
aElements.push_back(sElement);
- // swith to the next element
+ // switch to the next element
nElementStart = 1 + nNextSep;
}
while (nElementStart < nLength);
diff --git a/xmloff/source/script/XMLStarBasicContextFactory.cxx b/xmloff/source/script/XMLStarBasicContextFactory.cxx
index dff4ec314cbc..18eeccc00e3d 100644
--- a/xmloff/source/script/XMLStarBasicContextFactory.cxx
+++ b/xmloff/source/script/XMLStarBasicContextFactory.cxx
@@ -71,7 +71,7 @@ SvXMLImportContext* XMLStarBasicContextFactory::CreateContext(
{
sMacroNameVal = xAttrList->getValueByIndex(nAttr);
}
- // else: ingore
+ // else: ignore
}
// else: ignore
}
diff --git a/xmloff/source/style/xmlaustp.cxx b/xmloff/source/style/xmlaustp.cxx
index 0a8e22e1f2f5..d1ff59d97934 100644
--- a/xmloff/source/style/xmlaustp.cxx
+++ b/xmloff/source/style/xmlaustp.cxx
@@ -276,7 +276,7 @@ SvXMLExport& SvXMLAutoStylePoolP::GetExport() const
return pImpl->GetExport();
}
-// TODO: romove this
+// TODO: remove this
void SvXMLAutoStylePoolP::AddFamily(
sal_Int32 nFamily,
const OUString& rStrName,
diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx
index f1ad3f007fba..4669da3d0f36 100644
--- a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx
+++ b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx
@@ -123,7 +123,7 @@ void XMLIndexTabStopEntryContext::StartElement(
void XMLIndexTabStopEntryContext::FillPropertyValues(
Sequence<PropertyValue> & rValues)
{
- // fill vlues from parent class (type + style name)
+ // fill values from parent class (type + style name)
XMLIndexSimpleEntryContext::FillPropertyValues(rValues);
// get values array and next entry to be written;
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx
index 6389d8f27f0c..d318b3292773 100644
--- a/xmloff/source/text/XMLTextFrameContext.cxx
+++ b/xmloff/source/text/XMLTextFrameContext.cxx
@@ -771,7 +771,7 @@ void XMLTextFrameContext_Impl::Create( bool /*bHRefOrBase64*/ )
}
// #107848#
- // Make adding the shepe to Z-Ordering dependent from if we are
+ // Make adding the shape to Z-Ordering dependent from if we are
// inside a inside_deleted_section (redlining). That is necessary
// since the shape will be removed again later. It would lead to
// errors if it would stay inside the Z-Ordering. Thus, the
diff --git a/xmloff/source/text/XMLTextHeaderFooterContext.cxx b/xmloff/source/text/XMLTextHeaderFooterContext.cxx
index 673c8fff433a..7e274502e159 100644
--- a/xmloff/source/text/XMLTextHeaderFooterContext.cxx
+++ b/xmloff/source/text/XMLTextHeaderFooterContext.cxx
@@ -202,7 +202,7 @@ void XMLTextHeaderFooterContext::EndElement()
}
else if( !bLeft )
{
- // If no content has been inserted inro the header or footer,
+ // If no content has been inserted into the header or footer,
// switch it off.
sal_Bool bOn = sal_False;
Any aAny;
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index ca8ead9b26d1..a369b263ecc6 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -964,7 +964,7 @@ void XMLTextFieldExport::ExportFieldAutoStyle(
case FIELD_ID_UNKNOWN:
default:
OSL_FAIL("unknown field type!");
- // ignore -> no format for ukowns
+ // ignore -> no format for unknown
break;
}
}
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 344ac2e93046..d64e177f0b22 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -3404,9 +3404,9 @@ static SvXMLEnumMapEntry const aBibliographyDataTypeMap[] =
};
-// we'll process attributes on our own and forfit the standard
-// tecfield mechanism, because our attributes have zero overlp with
-// all the oher textfields.
+// we'll process attributes on our own and for fit the standard
+// textfield mechanism, because our attributes have zero overlap with
+// all the other textfields.
void XMLBibliographyFieldImportContext::StartElement(
const Reference<XAttributeList> & xAttrList)
{
diff --git a/xmloff/source/text/txtprmap.cxx b/xmloff/source/text/txtprmap.cxx
index 7f892f483e65..12d7a29db9b6 100644
--- a/xmloff/source/text/txtprmap.cxx
+++ b/xmloff/source/text/txtprmap.cxx
@@ -1001,7 +1001,7 @@ static XMLPropertyMapEntry *lcl_txtprmap_getMap( TextPropMap nType )
pMap = aXMLTextPropMap;
break;
case TextPropMap::SHAPE_PARA:
- // #i125045# use [21] instead of [1] for text props for Shapes, idices
+ // #i125045# use [21] instead of [1] for text props for Shapes, indices
// [1..20] contain the DrawingLayer FillStyle attributes corresponding to
// [XATTR_FILL_FIRST .. XATTR_FILL_LAST] and would be double since Shapes
// already contain these (usually in aXMLSDProperties)
diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx
index 8c63e7e29178..100b063c6c0b 100644
--- a/xmloff/source/transform/Oasis2OOo.cxx
+++ b/xmloff/source/transform/Oasis2OOo.cxx
@@ -242,7 +242,7 @@ static XMLTransformerActionInit aActionTable[] =
ENTRY1Q( TEXT, TAB, XML_ETACTION_RENAME_ELEM,
XML_NAMESPACE_TEXT, XML_TAB_STOP ),
- // replace <table:table tabke:is-sub-table> with <table:sub-table>
+ // replace <table:table table:is-sub-table> with <table:sub-table>
ENTRY0( TABLE, TABLE, XML_ETACTION_TABLE ),
// merge frame element