summaryrefslogtreecommitdiff
path: root/vcl/inc/salvtables.hxx
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-11-26 22:11:16 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-11-27 08:21:50 +0100
commit3b6688fe11c162e3e14371e6f7bfa4b66afec8a5 (patch)
treebab7579b5c66444ef127e45e17b13e5f35ab64ac /vcl/inc/salvtables.hxx
parentcf108a359b77ce58c2f8bb7f4116f87a8c536ca5 (diff)
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 <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/inc/salvtables.hxx')
-rw-r--r--vcl/inc/salvtables.hxx4
1 files changed, 2 insertions, 2 deletions
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::Button> weld_widget_for_response(int nResponse) override;
+ virtual std::unique_ptr<weld::Button> 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::Button> weld_widget_for_response(int nResponse) override;
+ std::unique_ptr<weld::Button> weld_button_for_response(int nResponse) override;
virtual ~SalInstanceAssistant() override;
};