[Libreoffice-commits] core.git: include/sfx2 sfx2/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 14 18:35:55 UTC 2021


 include/sfx2/viewfrm.hxx     |    2 +-
 sfx2/source/view/viewfrm.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 6c94eeb92fa0ea14814175276f35a25512cc6f2b
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Jul 14 18:13:09 2021 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Jul 14 20:35:19 2021 +0200

    Fix typo in code
    
    Change-Id: I9e92dcee5f49f81aeadf9e2baa504a247bece33b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118948
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Jenkins

diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx
index 1bd0cbca39eb..1e3bc1b19796 100644
--- a/include/sfx2/viewfrm.hxx
+++ b/include/sfx2/viewfrm.hxx
@@ -67,7 +67,7 @@ class SFX2_DLLPUBLIC SfxViewFrame final : public SfxShell, public SfxListener
     DECL_LINK(SwitchReadOnlyHandler, weld::Button&, void);
     DECL_LINK(SignDocumentHandler, weld::Button&, void);
     DECL_LINK(HiddenTrackChangesHandler, weld::Button&, void);
-    DECL_LINK(HypenationMissingHandler, weld::Button&, void);
+    DECL_LINK(HyphenationMissingHandler, weld::Button&, void);
     SAL_DLLPRIVATE void KillDispatcher_Impl();
 
     virtual                 ~SfxViewFrame() override;
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 37b090429425..95d1d5d1dfeb 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1510,7 +1510,7 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
                         weld::Button& rHyphenationButton = pInfoBar->addButton();
                         rHyphenationButton.set_label(SfxResId(STR_HYPHENATION_BUTTON));
                         rHyphenationButton.connect_clicked(LINK(this,
-                                                   SfxViewFrame, HypenationMissingHandler));
+                                                   SfxViewFrame, HyphenationMissingHandler));
                     }
 
                     aPendingInfobars.pop_back();
@@ -1653,7 +1653,7 @@ IMPL_LINK(SfxViewFrame, HiddenTrackChangesHandler, weld::Button&, rButton, void)
     }
 }
 
-IMPL_LINK_NOARG(SfxViewFrame, HypenationMissingHandler, weld::Button&, void)
+IMPL_LINK_NOARG(SfxViewFrame, HyphenationMissingHandler, weld::Button&, void)
 {
     GetDispatcher()->Execute(SID_HYPHENATIONMISSING);
     RemoveInfoBar(u"hyphenationmissing");


More information about the Libreoffice-commits mailing list