sd/inc/sdabstdlg.hxx                                |    2 +-
 sd/source/ui/dlg/inspagob.cxx                       |    2 +-
 sd/source/ui/dlg/sddlgfact.cxx                      |    4 ++--
 sd/source/ui/dlg/sddlgfact.hxx                      |    2 +-
 sd/source/ui/func/fuinsfil.cxx                      |    2 +-
 sd/source/ui/inc/inspagob.hxx                       |    2 +-
 sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx |    2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 3426cc7a4a19cb5d9ea5ba6b12f1eb5a901d5cfe
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Mon Aug 31 15:00:15 2020 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Tue Sep 1 09:11:21 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I89200406a2422173a96caa5fd74b66211cced557
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101784
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/sd/inc/sdabstdlg.hxx b/sd/inc/sdabstdlg.hxx
index eebe5695748d..820c3666214b 100644
--- a/sd/inc/sdabstdlg.hxx
+++ b/sd/inc/sdabstdlg.hxx
@@ -114,7 +114,7 @@ protected:
 public:
     virtual std::vector<OUString> GetList ( const sal_uInt16 nType ) = 0;
     virtual bool        IsLink() = 0;
-    virtual bool        IsRemoveUnnessesaryMasterPages() const = 0;
+    virtual bool        IsRemoveUnnecessaryMasterPages() const = 0;
 };
 
 class AbstractMorphDlg : public VclAbstractDialog
diff --git a/sd/source/ui/dlg/inspagob.cxx b/sd/source/ui/dlg/inspagob.cxx
index d36adcd5b8ad..5c984dd2329a 100644
--- a/sd/source/ui/dlg/inspagob.cxx
+++ b/sd/source/ui/dlg/inspagob.cxx
@@ -110,7 +110,7 @@ bool SdInsertPagesObjsDlg::IsLink() const
 /**
  *  is link checked
  */
-bool SdInsertPagesObjsDlg::IsRemoveUnnessesaryMasterPages() const
+bool SdInsertPagesObjsDlg::IsRemoveUnnecessaryMasterPages() const
 {
     return m_xCbxMasters->get_active();
 }
diff --git a/sd/source/ui/dlg/sddlgfact.cxx b/sd/source/ui/dlg/sddlgfact.cxx
index 30b945a82e51..f5ab2524cdb9 100644
--- a/sd/source/ui/dlg/sddlgfact.cxx
+++ b/sd/source/ui/dlg/sddlgfact.cxx
@@ -468,9 +468,9 @@ bool AbstractSdInsertPagesObjsDlg_Impl::IsLink()
     return m_xDlg->IsLink();
 }
 
-bool AbstractSdInsertPagesObjsDlg_Impl::IsRemoveUnnessesaryMasterPages() const
+bool AbstractSdInsertPagesObjsDlg_Impl::IsRemoveUnnecessaryMasterPages() const
 {
-    return m_xDlg->IsRemoveUnnessesaryMasterPages();
+    return m_xDlg->IsRemoveUnnecessaryMasterPages();
 }
 
 BitmapEx AbstractSdInsertPagesObjsDlg_Impl::createScreenshot() const
diff --git a/sd/source/ui/dlg/sddlgfact.hxx b/sd/source/ui/dlg/sddlgfact.hxx
index 75071a54f07a..52bcf2efb631 100644
--- a/sd/source/ui/dlg/sddlgfact.hxx
+++ b/sd/source/ui/dlg/sddlgfact.hxx
@@ -274,7 +274,7 @@ public:
     virtual short   Execute() override;
     virtual std::vector<OUString> GetList ( const sal_uInt16 nType ) override;
     virtual bool        IsLink() override;
-    virtual bool        IsRemoveUnnessesaryMasterPages() const override;
+    virtual bool        IsRemoveUnnecessaryMasterPages() const override;
 
     // screenshotting
     virtual BitmapEx createScreenshot() const override;
diff --git a/sd/source/ui/func/fuinsfil.cxx b/sd/source/ui/func/fuinsfil.cxx
index acb012fdbf1a..abff3b1c7046 100644
--- a/sd/source/ui/func/fuinsfil.cxx
+++ b/sd/source/ui/func/fuinsfil.cxx
@@ -388,7 +388,7 @@ bool FuInsertFile::InsSDDinDrMode(SfxMedium* pMedium)
             bOK = mpDoc->InsertBookmarkAsObject( aObjectBookmarkList, 
aExchangeList,
                                 nullptr, nullptr, false );
 
-        if( pDlg->IsRemoveUnnessesaryMasterPages() )
+        if( pDlg->IsRemoveUnnecessaryMasterPages() )
             mpDoc->RemoveUnnecessaryMasterPages();
     }
 
diff --git a/sd/source/ui/inc/inspagob.hxx b/sd/source/ui/inc/inspagob.hxx
index daad42cf1e63..0c3ffc76009d 100644
--- a/sd/source/ui/inc/inspagob.hxx
+++ b/sd/source/ui/inc/inspagob.hxx
@@ -52,7 +52,7 @@ public:
     std::vector<OUString> GetList ( const sal_uInt16 nType ) ;
 
     bool        IsLink() const;
-    bool        IsRemoveUnnessesaryMasterPages() const;
+    bool        IsRemoveUnnecessaryMasterPages() const;
 };
 
 #endif // INCLUDED_SD_SOURCE_UI_INC_INSPAGOB_HXX
diff --git a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx 
b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx
index 70e53010e163..9eba6427953d 100644
--- a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx
@@ -206,7 +206,7 @@ void CurrentMasterPagesSelector::ExecuteCommand(const 
OString &rIdent)
             && mrDocument.GetMasterPageUserCount(pMasterPage) == 0)
         {
             // Removing the precious flag so that the following call to
-            // RemoveUnnessesaryMasterPages() will remove this master page.
+            // RemoveUnnecessaryMasterPages() will remove this master page.
             pMasterPage->SetPrecious(false);
             mrDocument.RemoveUnnecessaryMasterPages(pMasterPage);
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to