summaryrefslogtreecommitdiff
path: root/l10ntools/source/xmlparse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/xmlparse.cxx')
-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 1a7559bcde26..0e74383ecd39 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -442,7 +442,7 @@ XMLFile& XMLFile::operator=(const XMLFile& rObj)
return *this;
}
-void XMLFile::SearchL10NElements( XMLParentNode *pCur, int nPos )
+void XMLFile::SearchL10NElements( XMLChildNode *pCur, int nPos )
{
bool bInsert = true;
if ( !pCur )
@@ -460,7 +460,7 @@ void XMLFile::SearchL10NElements( XMLParentNode *pCur, int nPos )
{
pElement = (*GetChildList())[ i ];
if( pElement->GetNodeType() == XML_NODE_TYPE_ELEMENT )
- SearchL10NElements( (XMLParentNode*) pElement , i);
+ SearchL10NElements( pElement , i);
}
}
}
@@ -503,7 +503,7 @@ void XMLFile::SearchL10NElements( XMLParentNode *pCur, int nPos )
else if ( bInsert && pElement->GetChildList() )
{
for ( size_t k = 0; k < pElement->GetChildList()->size(); k++ )
- SearchL10NElements( (XMLParentNode*)(*pElement->GetChildList())[ k ], k);
+ SearchL10NElements( (*pElement->GetChildList())[ k ], k);
}
}
break;