[Libreoffice-commits] core.git: vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 10 16:35:48 UTC 2020


 vcl/source/window/builder.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f9eea764389eae7e6b77076c1a80a8e6f280f9c4
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Aug 10 15:55:50 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 10 18:35:12 2020 +0200

    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 at redhat.com>

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")


More information about the Libreoffice-commits mailing list