summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-10 15:55:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-10 18:35:12 +0200
commitf9eea764389eae7e6b77076c1a80a8e6f280f9c4 (patch)
treeb89a5967c48c8206a2467c23b9a94c4d0591c146 /vcl/source/window
parent54ffd565154bd1ad890bbb8e8a252ba14d85d4b2 (diff)
tdf#135495 builder file format has annoyingly escaped into user config
Change-Id: I38882e2c6e1815ac5fd747642c8934e3e4ca3ffb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100438 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/builder.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 2cdc33966ff6..2d27f27e9f1a 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1910,8 +1910,9 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
xWindow = xListBox;
}
}
- else if (name == "VclOptionalBox")
+ else if (name == "VclOptionalBox" || name == "sfxlo-OptionalBox")
{
+ // tdf#135495 fallback sfxlo-OptionalBox to VclOptionalBox as a stopgap
xWindow = VclPtr<OptionalBox>::Create(pParent);
}
else if (name == "GtkIconView")