[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Feb 17 20:35:47 UTC 2020
vcl/source/window/builder.cxx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 0584527797c06da4ca0d41a4727c3642da7e459a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Feb 17 17:22:48 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Feb 17 21:35:08 2020 +0100
cid#1458429 silence some CHECKED_RETURNs
Change-Id: I4499ba6a1c74f809901c20a05958ca13ecdf0382
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88880
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index da3e2e8e8e57..caf1ec25c1e0 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -3183,7 +3183,7 @@ void VclBuilder::handleRow(xmlreader::XmlReader &reader, const OString &rID)
}
}
- reader.nextItem(
+ (void)reader.nextItem(
xmlreader::XmlReader::Text::Raw, &name, &nsId);
OString sValue(name.begin, name.length);
@@ -3344,7 +3344,7 @@ std::vector<ComboBoxTextItem> VclBuilder::handleItems(xmlreader::XmlReader &read
}
}
- reader.nextItem(
+ (void)reader.nextItem(
xmlreader::XmlReader::Text::Raw, &name, &nsId);
OString sValue(name.begin, name.length);
@@ -3946,7 +3946,7 @@ void VclBuilder::applyPackingProperty(vcl::Window *pCurrent,
name = reader.getAttributeValue(false);
OString sKey(name.begin, name.length);
sKey = sKey.replace('_', '-');
- reader.nextItem(
+ (void)reader.nextItem(
xmlreader::XmlReader::Text::Raw, &name, &nsId);
OString sValue(name.begin, name.length);
@@ -4117,7 +4117,7 @@ void VclBuilder::collectProperty(xmlreader::XmlReader &reader, stringmap &rMap)
}
}
- reader.nextItem(xmlreader::XmlReader::Text::Raw, &name, &nsId);
+ (void)reader.nextItem(xmlreader::XmlReader::Text::Raw, &name, &nsId);
OString sValue(name.begin, name.length);
OUString sFinalValue;
if (bTranslated)
@@ -4154,7 +4154,7 @@ void VclBuilder::handleActionWidget(xmlreader::XmlReader &reader)
}
}
- reader.nextItem(xmlreader::XmlReader::Text::Raw, &name, &nsId);
+ (void)reader.nextItem(xmlreader::XmlReader::Text::Raw, &name, &nsId);
OString sID(name.begin, name.length);
sal_Int32 nDelim = sID.indexOf(':');
if (nDelim != -1)
More information about the Libreoffice-commits
mailing list