vcl/source/uitest/uiobject.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a2c761ac3f047cc9e10a01298bebb46dc0026efe Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Mar 5 10:42:24 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Mar 5 16:28:09 2021 +0100 include the id of the duplicate in the warning about it Change-Id: I07aa9687bf7f00d90a69bf99a105385e662d9370 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112002 Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index d15b7f0315c2..b85c9864a083 100644 --- a/vcl/source/uitest/uiobject.cxx +++ b/vcl/source/uitest/uiobject.cxx @@ -437,7 +437,7 @@ void addChildren(vcl::Window const * pParent, std::set<OUString>& rChildren) if (!aId.isEmpty()) { auto ret = rChildren.insert(aId); - SAL_WARN_IF(!ret.second, "vcl.uitest", "duplicate ids for ui elements. violates locally unique requirement"); + SAL_WARN_IF(!ret.second, "vcl.uitest", "duplicate ids '" << aId << "' for ui elements. violates locally unique requirement"); } addChildren(pChild, rChildren); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits