summaryrefslogtreecommitdiff
path: root/vcl/inc/salvtables.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-06 09:45:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-06 14:43:09 +0200
commit66ce7a7bcae0e0e38fc56f6780eec86e06acfd90 (patch)
tree1c21bf06e39274689674653428ca984ccc8ac22d /vcl/inc/salvtables.hxx
parent19f331ca6aa87a438b1eeabef72978ddbfb0e747 (diff)
drop ownership argument
we have never needed to diverge from the defaults of true for toplevels and false for non-toplevels Change-Id: I884b1e221d0ec44895214363d391c27e3e1707f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104019 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/salvtables.hxx')
-rw-r--r--vcl/inc/salvtables.hxx104
1 files changed, 36 insertions, 68 deletions
diff --git a/vcl/inc/salvtables.hxx b/vcl/inc/salvtables.hxx
index 391e61ea3c65..affca7347051 100644
--- a/vcl/inc/salvtables.hxx
+++ b/vcl/inc/salvtables.hxx
@@ -36,116 +36,84 @@ public:
const css::uno::Reference<css::frame::XFrame>& rFrame
= css::uno::Reference<css::frame::XFrame>());
- virtual std::unique_ptr<weld::MessageDialog>
- weld_message_dialog(const OString& id, bool bTakeOwnership = true) override;
+ virtual std::unique_ptr<weld::MessageDialog> weld_message_dialog(const OString& id) override;
- virtual std::unique_ptr<weld::Dialog> weld_dialog(const OString& id,
- bool bTakeOwnership = true) override;
+ virtual std::unique_ptr<weld::Dialog> weld_dialog(const OString& id) override;
- virtual std::unique_ptr<weld::Assistant> weld_assistant(const OString& id,
- bool bTakeOwnership = true) override;
+ virtual std::unique_ptr<weld::Assistant> weld_assistant(const OString& id) override;
virtual std::unique_ptr<weld::Window> create_screenshot_window() override;
- virtual std::unique_ptr<weld::Widget> weld_widget(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Widget> weld_widget(const OString& id) override;
- virtual std::unique_ptr<weld::Container> weld_container(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Container> weld_container(const OString& id) override;
- virtual std::unique_ptr<weld::Box> weld_box(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Box> weld_box(const OString& id) override;
- virtual std::unique_ptr<weld::Paned> weld_paned(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Paned> weld_paned(const OString& id) override;
- virtual std::unique_ptr<weld::Frame> weld_frame(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Frame> weld_frame(const OString& id) override;
- virtual std::unique_ptr<weld::ScrolledWindow>
- weld_scrolled_window(const OString& id, bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::ScrolledWindow> weld_scrolled_window(const OString& id) override;
- virtual std::unique_ptr<weld::Notebook> weld_notebook(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Notebook> weld_notebook(const OString& id) override;
- virtual std::unique_ptr<weld::Button> weld_button(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Button> weld_button(const OString& id) override;
- virtual std::unique_ptr<weld::MenuButton>
- weld_menu_button(const OString& id, bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::MenuButton> weld_menu_button(const OString& id) override;
- virtual std::unique_ptr<weld::LinkButton>
- weld_link_button(const OString& id, bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::LinkButton> weld_link_button(const OString& id) override;
- virtual std::unique_ptr<weld::ToggleButton>
- weld_toggle_button(const OString& id, bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::ToggleButton> weld_toggle_button(const OString& id) override;
- virtual std::unique_ptr<weld::RadioButton>
- weld_radio_button(const OString& id, bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::RadioButton> weld_radio_button(const OString& id) override;
- virtual std::unique_ptr<weld::CheckButton>
- weld_check_button(const OString& id, bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::CheckButton> weld_check_button(const OString& id) override;
- virtual std::unique_ptr<weld::Scale> weld_scale(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Scale> weld_scale(const OString& id) override;
- virtual std::unique_ptr<weld::ProgressBar>
- weld_progress_bar(const OString& id, bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::ProgressBar> weld_progress_bar(const OString& id) override;
- virtual std::unique_ptr<weld::Spinner> weld_spinner(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Spinner> weld_spinner(const OString& id) override;
- virtual std::unique_ptr<weld::Image> weld_image(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Image> weld_image(const OString& id) override;
- virtual std::unique_ptr<weld::Calendar> weld_calendar(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Calendar> weld_calendar(const OString& id) override;
- virtual std::unique_ptr<weld::Entry> weld_entry(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Entry> weld_entry(const OString& id) override;
- virtual std::unique_ptr<weld::SpinButton>
- weld_spin_button(const OString& id, bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::SpinButton> weld_spin_button(const OString& id) override;
virtual std::unique_ptr<weld::MetricSpinButton>
- weld_metric_spin_button(const OString& id, FieldUnit eUnit,
- bool bTakeOwnership = false) override;
+ weld_metric_spin_button(const OString& id, FieldUnit eUnit) override;
virtual std::unique_ptr<weld::FormattedSpinButton>
- weld_formatted_spin_button(const OString& id, bool bTakeOwnership = false) override;
+ weld_formatted_spin_button(const OString& id) override;
- virtual std::unique_ptr<weld::ComboBox> weld_combo_box(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::ComboBox> weld_combo_box(const OString& id) override;
virtual std::unique_ptr<weld::EntryTreeView>
weld_entry_tree_view(const OString& containerid, const OString& entryid,
- const OString& treeviewid, bool bTakeOwnership = false) override;
+ const OString& treeviewid) override;
- virtual std::unique_ptr<weld::TreeView> weld_tree_view(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::TreeView> weld_tree_view(const OString& id) override;
- virtual std::unique_ptr<weld::IconView> weld_icon_view(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::IconView> weld_icon_view(const OString& id) override;
- virtual std::unique_ptr<weld::Label> weld_label(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Label> weld_label(const OString& id) override;
- virtual std::unique_ptr<weld::TextView> weld_text_view(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::TextView> weld_text_view(const OString& id) override;
- virtual std::unique_ptr<weld::Expander> weld_expander(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Expander> weld_expander(const OString& id) override;
virtual std::unique_ptr<weld::DrawingArea>
weld_drawing_area(const OString& id, const a11yref& rA11yImpl = nullptr,
- FactoryFunction pUITestFactoryFunction = nullptr, void* pUserData = nullptr,
- bool bTakeOwnership = false) override;
+ FactoryFunction pUITestFactoryFunction = nullptr,
+ void* pUserData = nullptr) override;
- virtual std::unique_ptr<weld::Menu> weld_menu(const OString& id,
- bool bTakeOwnership = true) override;
+ virtual std::unique_ptr<weld::Menu> weld_menu(const OString& id) override;
- virtual std::unique_ptr<weld::Toolbar> weld_toolbar(const OString& id,
- bool bTakeOwnership = false) override;
+ virtual std::unique_ptr<weld::Toolbar> weld_toolbar(const OString& id) override;
virtual std::unique_ptr<weld::SizeGroup> create_size_group() override;