diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 12:23:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-16 07:26:27 +0100 |
commit | a2751c0795cdac9d78f8919aab319a418b6e0bbc (patch) | |
tree | 1396e27bd0e86536b9a29f08192f3d7eaeff2c8a /svtools | |
parent | a04340a08c9f2a0e7208f3109fbcc97ab19fccb3 (diff) |
loplugin:staticmethods improvement
Change-Id: I8889ce8a7d2309b54454cfe4c6421282e1c6e755
Reviewed-on: https://gerrit.libreoffice.org/63434
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/inettbc.cxx | 1 | ||||
-rw-r--r-- | svtools/source/dialogs/ServerDetailsControls.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 5ac408552ba6..ccfb0c021548 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -2104,6 +2104,7 @@ IMPL_LINK_NOARG(URLBox, ChangedHdl, weld::ComboBox&, void) IMPL_LINK_NOARG(URLBox, FocusInHdl, weld::Widget&, void) { + (void)this; // loplugin:staticmethod #ifndef UNX // pb: don't select automatically on unix #93251# m_xWidget->select_entry_region(0, -1); diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx index 2cc3d2ab4fe1..ec42fdf1e928 100644 --- a/svtools/source/dialogs/ServerDetailsControls.cxx +++ b/svtools/source/dialogs/ServerDetailsControls.cxx @@ -41,7 +41,7 @@ DetailsContainer::DetailsContainer(PlaceEditDialog* pDialog) } //format without thousand separator -IMPL_LINK(DetailsContainer, FormatPortHdl, weld::SpinButton&, rSpinButton, void) +IMPL_STATIC_LINK(DetailsContainer, FormatPortHdl, weld::SpinButton&, rSpinButton, void) { rSpinButton.set_text(OUString::number(rSpinButton.get_value())); } |