diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-28 13:18:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-31 08:34:39 +0200 |
commit | c78449b0386ed38a2ad81584926f8b31b61e9e05 (patch) | |
tree | 4246b268bb17f72c1bfaaf7a36ce33495a183cf4 /svx/source/gallery2/galbrws1.cxx | |
parent | 65aa9f9360daaf09cc2e3f14f19c859c883144c2 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I1cb3b048843dc4cafa16c7f8408fc3300e5fc8e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101614
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/gallery2/galbrws1.cxx')
-rw-r--r-- | svx/source/gallery2/galbrws1.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx index cb0b291b106d..366bcecbd92d 100644 --- a/svx/source/gallery2/galbrws1.cxx +++ b/svx/source/gallery2/galbrws1.cxx @@ -48,7 +48,7 @@ using namespace ::com::sun::star; GalleryBrowser1::GalleryBrowser1( weld::Builder& rBuilder, Gallery* pGallery, - const std::function<void ()>& rThemeSlectionHandler) + const std::function<void ()>& rThemeSelectionHandler) : mxNewTheme(rBuilder.weld_button("insert")), mxThemes(rBuilder.weld_tree_view("themelist")), @@ -57,7 +57,7 @@ GalleryBrowser1::GalleryBrowser1( aImgNormal ( RID_SVXBMP_THEME_NORMAL ), aImgDefault ( RID_SVXBMP_THEME_DEFAULT ), aImgReadOnly ( RID_SVXBMP_THEME_READONLY ), - maThemeSlectionHandler(rThemeSlectionHandler) + maThemeSelectionHandler(rThemeSelectionHandler) { mxNewTheme->set_help_id(HID_GALLERY_NEWTHEME); mxNewTheme->connect_clicked( LINK( this, GalleryBrowser1, ClickNewThemeHdl ) ); @@ -463,8 +463,8 @@ IMPL_LINK(GalleryBrowser1, PopupMenuHdl, const CommandEvent&, rCEvt, bool) IMPL_LINK_NOARG(GalleryBrowser1, SelectThemeHdl, weld::TreeView&, void) { - if (maThemeSlectionHandler) - maThemeSlectionHandler(); + if (maThemeSelectionHandler) + maThemeSelectionHandler(); } IMPL_LINK_NOARG(GalleryBrowser1, ClickNewThemeHdl, weld::Button&, void) |