diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/fwe/xml/xmlnamespaces.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/fwe/xml/xmlnamespaces.cxx b/framework/source/fwe/xml/xmlnamespaces.cxx index d44c06c7c1ec..da01d4f4e35f 100644 --- a/framework/source/fwe/xml/xmlnamespaces.cxx +++ b/framework/source/fwe/xml/xmlnamespaces.cxx @@ -47,7 +47,7 @@ void XMLNamespaces::addNamespace( const OUString& aName, const OUString& aValue sal_Int32 nXMLNamespaceLength = m_aXMLAttributeNamespace.getLength(); // delete preceding "xmlns" - if ( aNamespaceName.compareTo( m_aXMLAttributeNamespace, nXMLNamespaceLength ) == 0 ) + if ( aNamespaceName.startsWith( m_aXMLAttributeNamespace ) ) { if ( aNamespaceName.getLength() == nXMLNamespaceLength ) { |