summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/xmlparse.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index 40550bcd6e85..42030503351f 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -447,11 +447,11 @@ void XMLFile::SearchL10NElements( XMLParentNode *pCur , int pos)
else {
switch( pCur->GetNodeType()) {
case XML_NODE_TYPE_FILE: {
- XMLParentNode* pElement;
+ XMLChildNode* pElement;
if( GetChildList()){
for ( size_t i = 0; i < GetChildList()->size(); i++ ){
- pElement = (XMLParentNode*) (*GetChildList())[ i ];
- if( pElement->GetNodeType() == XML_NODE_TYPE_ELEMENT ) SearchL10NElements( pElement , i);
+ pElement = (*GetChildList())[ i ];
+ if( pElement->GetNodeType() == XML_NODE_TYPE_ELEMENT ) SearchL10NElements( (XMLParentNode*) pElement , i);
}
}
}