[Libreoffice-commits] core.git: svx/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 31 06:35:22 UTC 2020
svx/source/gallery2/galbrws1.cxx | 8 ++++----
svx/source/gallery2/galbrws1.hxx | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit c78449b0386ed38a2ad81584926f8b31b61e9e05
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 28 13:18:20 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Aug 31 08:34:39 2020 +0200
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 at collabora.co.uk>
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)
diff --git a/svx/source/gallery2/galbrws1.hxx b/svx/source/gallery2/galbrws1.hxx
index 91524f2022d3..835a0db4ec9a 100644
--- a/svx/source/gallery2/galbrws1.hxx
+++ b/svx/source/gallery2/galbrws1.hxx
@@ -53,7 +53,7 @@ private:
OUString aImgDefault;
OUString aImgReadOnly;
- ::std::function<void ()> maThemeSlectionHandler;
+ ::std::function<void ()> maThemeSelectionHandler;
void ImplInsertThemeEntry( const GalleryThemeEntry* pEntry );
static void ImplFillExchangeData( const GalleryTheme* pThm, ExchangeData& rData );
@@ -77,7 +77,7 @@ public:
GalleryBrowser1(
weld::Builder& rBuilder,
Gallery* pGallery,
- const ::std::function<void ()>& rThemeSlectionHandler);
+ const ::std::function<void ()>& rThemeSelectionHandler);
~GalleryBrowser1();
More information about the Libreoffice-commits
mailing list