summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-03-15 15:27:55 +0100
committerMichael Stahl <mstahl@redhat.com>2018-03-15 20:09:53 +0100
commit4defe28e5f28a68a23317e1d50c51d29cf58226e (patch)
tree736d2ce0083cb495bb3e859fa55d84bb5fa9716a /xmloff
parentaab3bffeb8d3a4ca6dcf75852e197eb754b1417c (diff)
Fix typos
Change-Id: Icb2d5f8bb9eb781d6a59384e1aac75abf6145774 Reviewed-on: https://gerrit.libreoffice.org/51337 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlimp.cxx4
-rw-r--r--xmloff/source/style/xmlexppr.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index ba656fe41131..23c21d3c7314 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -2207,8 +2207,8 @@ void SvXMLImportFastNamespaceHandler::addNSDeclAttributes( rtl::Reference < comp
void SvXMLImportFastNamespaceHandler::registerNamespace( const OUString& rNamespacePrefix, const OUString& rNamespaceURI )
{
- // Elements with default namespace parsed by FastParser have namepsace prefix.
- // A default namespace needs to be registered with the prefix, to maintan the compatibility.
+ // Elements with default namespace parsed by FastParser have namespace prefix.
+ // A default namespace needs to be registered with the prefix, to maintain the compatibility.
if ( rNamespacePrefix.isEmpty() )
m_aNamespaceDefines.push_back( o3tl::make_unique<NamespaceDefine>(
SvXMLImport::getNamespacePrefixFromURI( rNamespaceURI ), rNamespaceURI) );
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx
index 15505f19f7b1..85b99ed0d7eb 100644
--- a/xmloff/source/style/xmlexppr.cxx
+++ b/xmloff/source/style/xmlexppr.cxx
@@ -919,7 +919,7 @@ void SvXMLExportPropertyMapper::_exportXML(
else
{
// check if there is a prefix registered for the
- // namepsace URI
+ // namespace URI
nKey = pNamespaceMap->GetKeyByName( sNamespace );
if( XML_NAMESPACE_UNKNOWN == nKey )
{