Fix typos
Change-Id: I6730c6c5eab9157533822e5045e9f86109062580 Reviewed-on: https://gerrit.libreoffice.org/29433 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
committed by
Noel Grandin
parent
8f62ca8e2f
commit
f0249a88fc
@@ -609,7 +609,7 @@ Model::XNode_t Model::renameNode( const XNode_t& xNode,
|
||||
if( xNode->getNodeName() == sName )
|
||||
return xNode;
|
||||
|
||||
// refuse to change name if its an attribute, and the name is already used
|
||||
// refuse to change name if it's an attribute, and the name is already used
|
||||
if( xNode->getNodeType() == NodeType_ATTRIBUTE_NODE
|
||||
&& xNode->getParentNode().is()
|
||||
&& Reference<XElement>(xNode->getParentNode(), UNO_QUERY_THROW)->hasAttribute( sName ) )
|
||||
|
Reference in New Issue
Block a user