diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-07-16 19:37:32 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-07-16 19:40:58 +0200 |
commit | e0f7e213af28c8397bcc69b007a3c88248287a5f (patch) | |
tree | 57ce57dd13c98c7b1b2a31942f24fccd50b3380c /xmloff | |
parent | e0ee0d444e5107bc2bbc2ac9f3bda19150f4f82b (diff) |
the unknwon typo is surprisingly popular
Change-Id: Iffe25051c8357019521196f9a27065d6108ede47
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/xmlerror.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/transform/TransformerBase.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/inc/xmloff/xmlerror.hxx b/xmloff/inc/xmloff/xmlerror.hxx index b5fbbd855556..eb84e519071f 100644 --- a/xmloff/inc/xmloff/xmlerror.hxx +++ b/xmloff/inc/xmloff/xmlerror.hxx @@ -74,7 +74,7 @@ #define XMLERROR_UNKNOWN_ATTRIBUTE ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000a ) #define XMLERROR_UNKNOWN_ELEMENT ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000b ) #define XMLERROR_UNKNOWN_CHARACTERS ( XMLERROR_CLASS_FORMAT | XMLERROR_FLAG_WARNING | 0x0000000c ) -#define XMLERROR_UNKNWON_ROOT (XMLERROR_CLASS_FORMAT | 0x0000000d ) +#define XMLERROR_UNKNOWN_ROOT (XMLERROR_CLASS_FORMAT | 0x0000000d ) // API errors: #define XMLERROR_STYLE_PROP_VALUE ( XMLERROR_CLASS_API | 0x00000001 ) diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index d2567a75ec66..30e130b8f081 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -612,7 +612,7 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName, : rAttrName.copy( 6 ) ); // Add namespace, but only if it is known. sal_uInt16 nKey = mpNamespaceMap->AddIfKnown( aPrefix, rAttrValue ); - // If namespace is unknwon, try to match a name with similar + // If namespace is unknown, try to match a name with similar // TC Id an version if( XML_NAMESPACE_UNKNOWN == nKey ) { @@ -664,7 +664,7 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName, Sequence < OUString > aParams(1); aParams.getArray()[0] = rName; - SetError( XMLERROR_FLAG_SEVERE|XMLERROR_UNKNWON_ROOT, + SetError( XMLERROR_FLAG_SEVERE|XMLERROR_UNKNOWN_ROOT, aParams, aMsg, xDummyLocator ); } } diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx index e277f4ed6982..3920d82d0ebd 100644 --- a/xmloff/source/transform/TransformerBase.cxx +++ b/xmloff/source/transform/TransformerBase.cxx @@ -266,7 +266,7 @@ void SAL_CALL XMLTransformerBase::startElement( const OUString& rName, : rAttrName.copy( 6 ) ); // Add namespace, but only if it is known. sal_uInt16 nKey = m_pNamespaceMap->AddIfKnown( aPrefix, rAttrValue ); - // If namespace is unknwon, try to match a name with similar + // If namespace is unknown, try to match a name with similar // TC Id an version if( XML_NAMESPACE_UNKNOWN == nKey ) { |