summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2024-07-10 17:39:17 +0200
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2024-07-11 12:50:52 +0200
commitdd4d32797c7c4cb915f1f81ad92abb195985afb5 (patch)
treefb3df63cca49aa044b306d2d0beb23dfff3b39c0 /sfx2/source/dialog
parentaaf93cd9629acd476284a4933a656ddd188a80aa (diff)
Fix to temporary variable name
Change-Id: I87be9a7b5cd2627844ab7b5f0c838eddbeb01b05 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170319 Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Jenkins
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r--sfx2/source/dialog/backingwindow.cxx3
1 files changed, 1 insertions, 2 deletions
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();