[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Feb 22 12:42:26 UTC 2021
vcl/source/window/builder.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 61c5c0170d1b36b71b4facb2c8bbbc3f8ca5a6ba
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Feb 22 10:56:07 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Feb 22 13:41:43 2021 +0100
an iconview target is also possible
Change-Id: I82f4a71141e6cac7fc66f2614ab4ca97eab04038
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111308
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 25a507d39e82..b644343dc0a0 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -592,7 +592,7 @@ VclBuilder::VclBuilder(vcl::Window* pParent, const OUString& sUIDir, const OUStr
SvTabListBox *pTreeBoxTarget = dynamic_cast<SvTabListBox*>(pTarget);
// pStore may be empty
const ListStore *pStore = get_model_by_name(elem.m_sValue.toUtf8());
- SAL_WARN_IF(!pListBoxTarget && !pComboBoxTarget && !pTreeBoxTarget, "vcl", "missing elements of combobox");
+ SAL_WARN_IF(!pListBoxTarget && !pComboBoxTarget && !pTreeBoxTarget && !dynamic_cast<IconView*>(pTarget), "vcl", "missing elements of combobox");
if (pListBoxTarget && pStore)
mungeModel(*pListBoxTarget, *pStore, elem.m_nActiveId);
else if (pComboBoxTarget && pStore)
More information about the Libreoffice-commits
mailing list