summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-03-13 12:23:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-03-14 08:11:55 +0100
commitebe1f639cf65c20cee70aa55176bfb67e7b915f7 (patch)
tree3d80dace017cc053b69a53bfc2cce5ae0cf2f9eb /svx
parentb8d3d4ad0f5bf4f449118214a91219b98ee506c3 (diff)
loplugin:unusedmethods
Change-Id: I851eba4ca80eac9ee5896df53fbcd0f5ad125763 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112433 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/gallery2/galbrws1.cxx5
-rw-r--r--svx/source/gallery2/galbrws1.hxx1
2 files changed, 0 insertions, 6 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx
index 295adea78d9a..d1a35a0e5a04 100644
--- a/svx/source/gallery2/galbrws1.cxx
+++ b/svx/source/gallery2/galbrws1.cxx
@@ -312,11 +312,6 @@ weld::Widget* GalleryBrowser1::GetInitialFocusWidget()
return mxThemes.get();
}
-void GalleryBrowser1::GrabFocus()
-{
- GetInitialFocusWidget()->grab_focus();
-}
-
void GalleryBrowser1::Notify( SfxBroadcaster&, const SfxHint& rHint )
{
const GalleryHint& rGalleryHint = static_cast<const GalleryHint&>(rHint);
diff --git a/svx/source/gallery2/galbrws1.hxx b/svx/source/gallery2/galbrws1.hxx
index 7a51bd0928b1..76eb75f48245 100644
--- a/svx/source/gallery2/galbrws1.hxx
+++ b/svx/source/gallery2/galbrws1.hxx
@@ -87,7 +87,6 @@ public:
void SelectTheme( sal_uInt16 nThemePos ) { mxThemes->select( nThemePos ); SelectThemeHdl( *mxThemes ); }
OUString GetSelectedTheme() const { return mxThemes->get_selected_text(); }
weld::Widget* GetInitialFocusWidget();
- void GrabFocus();
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */