From 3b6688fe11c162e3e14371e6f7bfa4b66afec8a5 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Tue, 26 Nov 2024 22:11:16 +0100 Subject: weld: Rename weld::Dialog::{widget -> button}_for_response Rename weld::Dialog::widget_for_response to weld::Dialog_button_for_response as it specifically returns a weld::Button, not a generic weld::Widget (other than GTK's `gtk_dialog_get_widget_for_response` [1] which returns a GtkWidget). [1] https://docs.gtk.org/gtk3/method.Dialog.get_widget_for_response.html Change-Id: I3b1dc34c0af752853551d2ebb706109f2214720d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177376 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- vcl/inc/salvtables.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/inc/salvtables.hxx') diff --git a/vcl/inc/salvtables.hxx b/vcl/inc/salvtables.hxx index ec2544e9f009..3837576c486e 100644 --- a/vcl/inc/salvtables.hxx +++ b/vcl/inc/salvtables.hxx @@ -551,7 +551,7 @@ public: virtual void set_centered_on_parent(bool /*bTrackGeometryRequests*/) override; - virtual std::unique_ptr weld_widget_for_response(int nResponse) override; + virtual std::unique_ptr weld_button_for_response(int nResponse) override; virtual void set_default_response(int nResponse) override; @@ -592,7 +592,7 @@ public: virtual void set_page_sensitive(const OUString& rIdent, bool bSensitive) override; virtual void set_page_side_help_id(const OUString& rHelpId) override; virtual void set_page_side_image(const OUString& rImage) override; - std::unique_ptr weld_widget_for_response(int nResponse) override; + std::unique_ptr weld_button_for_response(int nResponse) override; virtual ~SalInstanceAssistant() override; }; -- cgit