summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-05 10:42:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-05 16:28:09 +0100
commita2c761ac3f047cc9e10a01298bebb46dc0026efe (patch)
tree04df2c7beeab4c3d1e5199a7eee2a83337c61945
parentcd17f402ad17c7f9b3f590d7e7d27462dfc86dc5 (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>
-rw-r--r--vcl/source/uitest/uiobject.cxx2
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);