[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Mar 5 15:28:54 UTC 2021
vcl/source/uitest/uiobject.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a2c761ac3f047cc9e10a01298bebb46dc0026efe
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Mar 5 10:42:24 2021 +0000
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at 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);
More information about the Libreoffice-commits
mailing list