summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-31 15:00:15 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-01 09:11:21 +0200
commit3426cc7a4a19cb5d9ea5ba6b12f1eb5a901d5cfe (patch)
treeb78821442cb4f632d4263e0778679e635575b296 /sd
parent9ab308c9383c8a323a3210dd3009bb1a86a717fd (diff)
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 <serval2412@yahoo.fr>
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/sdabstdlg.hxx2
-rw-r--r--sd/source/ui/dlg/inspagob.cxx2
-rw-r--r--sd/source/ui/dlg/sddlgfact.cxx4
-rw-r--r--sd/source/ui/dlg/sddlgfact.hxx2
-rw-r--r--sd/source/ui/func/fuinsfil.cxx2
-rw-r--r--sd/source/ui/inc/inspagob.hxx2
-rw-r--r--sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx2
7 files changed, 8 insertions, 8 deletions
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);
}