diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-05 10:42:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-05 16:28:09 +0100 |
commit | a2c761ac3f047cc9e10a01298bebb46dc0026efe (patch) | |
tree | 04df2c7beeab4c3d1e5199a7eee2a83337c61945 /vcl | |
parent | cd17f402ad17c7f9b3f590d7e7d27462dfc86dc5 (diff) |
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@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/uitest/uiobject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |