sfx2/source/dialog/backingwindow.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit dd4d32797c7c4cb915f1f81ad92abb195985afb5
Author:     Heiko Tietze <tietze.he...@gmail.com>
AuthorDate: Wed Jul 10 17:39:17 2024 +0200
Commit:     Heiko Tietze <heiko.tie...@documentfoundation.org>
CommitDate: Thu Jul 11 12:50:52 2024 +0200

    Fix to temporary variable name
    
    Change-Id: I87be9a7b5cd2627844ab7b5f0c838eddbeb01b05
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170319
    Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org>
    Tested-by: Jenkins

diff --git a/sfx2/source/dialog/backingwindow.cxx 
b/sfx2/source/dialog/backingwindow.cxx
index ee2e4459cf63..009c1acea6bc 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -196,9 +196,8 @@ BackingWindow::BackingWindow(vcl::Window* i_pParent)
     // tdf#161796 make the extension button show the donation page
     if (officecfg::Office::Common::Misc::ShowDonation::get())
     {
-        OUString test = SfxResId(STR_DONATE_BUTTON);
         mxExtensionsButton->set_from_icon_name(BMP_DONATE); // icon first 
needed on gtk3 to apply the label
-        mxExtensionsButton->set_label(test);
+        mxExtensionsButton->set_label(SfxResId(STR_DONATE_BUTTON));
     }
 
     mxDropTarget = mxAllRecentThumbnails->GetDropTarget();

Reply via email to