summaryrefslogtreecommitdiff
path: root/vcl/source/window/builder.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-11-04 09:55:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-11-04 15:11:56 +0100
commit6427bf87360a97f41ae351feaa35975c868260ec (patch)
tree0c23cf4d5c0d9c1f1b7ee6b44161f70ebae6ef1b /vcl/source/window/builder.cxx
parentc4fc90af1355d80ad0c3e5130fd43a9b97d80b9a (diff)
negative returns
Change-Id: I6f710f1aecc2e242b6006a3360e31bf2a9438fe7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105286 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/builder.cxx')
-rw-r--r--vcl/source/window/builder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 7bd21299e16b..73a6532c0949 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -3052,7 +3052,7 @@ void VclBuilder::handleRow(xmlreader::XmlReader &reader, const OString &rID)
if (name == "id")
{
name = reader.getAttributeValue(false);
- nId = OString(name.begin, name.length).toInt32();
+ nId = OString(name.begin, name.length).toUInt32();
}
else if (nId == 0 && name == "translatable" && reader.getAttributeValue(false) == "yes")
{