summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2011-05-16 23:50:00 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2011-05-16 23:50:00 +0200
commitc1c9015c7c5f5645cf541f562421970e361d6d2b (patch)
treef2c5cea1a9d112cfa6a38513afa5cda3bf85489f /l10ntools
parent1fd367c45cc6a2ff57eb33c70684136874d066cb (diff)
size_t is unsigned type, but function returns negative value (function is apparenly not used anywhere else)
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/xmlparse.hxx2
-rw-r--r--l10ntools/source/xmlparse.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx
index 70fe9018eb7c..97e56df59253 100644
--- a/l10ntools/inc/xmlparse.hxx
+++ b/l10ntools/inc/xmlparse.hxx
@@ -176,7 +176,7 @@ public:
);
virtual int GetPosition( ByteString id );
- size_t RemoveChild( XMLElement *pRefElement );
+ int RemoveChild( XMLElement *pRefElement );
void RemoveAndDeleteAllChilds();
/// returns a child element which matches the given one
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index 6713339b3e14..7b0b11817687 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -188,7 +188,7 @@ int XMLParentNode::GetPosition( ByteString id ){
}
/*****************************************************************************/
-size_t XMLParentNode::RemoveChild( XMLElement *pRefElement )
+int XMLParentNode::RemoveChild( XMLElement *pRefElement )
/*****************************************************************************/
{
XMLElement* a;