sal/rtl/bootstrap.cxx |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

New commits:
commit 191e5fc227e40d18a1fe4563ed145517117596ea
Author:     Emanuel Schorsch <emschor...@google.com>
AuthorDate: Sun Oct 17 18:31:30 2021 -0700
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Mon Oct 18 09:10:46 2021 +0200

    Noop unify style for branches
    
    Change-Id: Ifa96b7f273f7c154fdd267efba7271765ff7ae45
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123728
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx
index fc551c8ce933..9feadf874e54 100644
--- a/sal/rtl/bootstrap.cxx
+++ b/sal/rtl/bootstrap.cxx
@@ -919,11 +919,9 @@ OUString expandMacros(
                 }
                 else if (n == 2)
                 {
-                    buf.append(
-                        lookup(
-                            static_cast< Bootstrap_Impl * >(
-                                rtl::Bootstrap(seg[0]).getHandle()),
-                            mode, false, seg[1], requestStack));
+                    rtl::Bootstrap b(seg[0]);
+                    Bootstrap_Impl * f = static_cast< Bootstrap_Impl * 
>(b.getHandle());
+                    buf.append(lookup(f, mode, false, seg[1], requestStack));
                 }
                 else if (n == 3 && seg[0] == ".override")
                 {

Reply via email to