From 14d096e2bf7998de55350b8fe53ec511dedcc477 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sun, 2 Oct 2016 00:24:51 +0200 Subject: Fix typos Change-Id: Ie75beb4e282a4d1b784a5847262e39cf9c851527 Reviewed-on: https://gerrit.libreoffice.org/29440 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sw/source/filter/xml/xmlimpit.cxx | 2 +- sw/source/ui/misc/bookmark.cxx | 2 +- sw/source/uibase/app/apphdl.cxx | 2 +- sw/source/uibase/cctrl/swlbox.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sw') diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx index 83ad34465c82..bb0f51e7b596 100644 --- a/sw/source/filter/xml/xmlimpit.cxx +++ b/sw/source/filter/xml/xmlimpit.cxx @@ -108,7 +108,7 @@ void SvXMLImportItemMapper::importXML( SfxItemSet& rSet, SfxItemState eState = rSet.GetItemState( pEntry->nWhichId, true, &pItem ); - // if its not set, try the pool + // if it's not set, try the pool if (SfxItemState::SET != eState && SfxItemPool::IsWhich(pEntry->nWhichId)) pItem = &rSet.GetPool()->GetDefaultItem(pEntry->nWhichId); diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx index 0bf9fca7c36a..6197c4f64ef3 100644 --- a/sw/source/ui/misc/bookmark.cxx +++ b/sw/source/ui/misc/bookmark.cxx @@ -80,7 +80,7 @@ IMPL_LINK_NOARG_TYPED(SwInsertBookmarkDlg, ModifyHdl, Edit&, void) nEntries++; } - // allow to add new bookmark only if one name provided and its not taken + // allow to add new bookmark only if one name provided and it's not taken m_pInsertBtn->Enable(nEntries == 1 && nSelectedEntries == 0); // allow to delete only if all bookmarks are recognized diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx index 0b8196c16eb9..4f2a5ee6f7c1 100644 --- a/sw/source/uibase/app/apphdl.cxx +++ b/sw/source/uibase/app/apphdl.cxx @@ -639,7 +639,7 @@ IMPL_LINK_NOARG_TYPED(SwMailMergeWizardExecutor, CancelHdl, void*, void) uno::Reference xPropSet(pViewFrame->GetFrame().GetFrameInterface(), uno::UNO_QUERY); if (xPropSet.is() && m_bDestroyMMToolbarOnCancel) { - // hide mailmerge toolbar if it hasnt been there before + // hide mailmerge toolbar if it hasn't been there before uno::Reference xLayoutManager; uno::Any aValue = xPropSet->getPropertyValue("LayoutManager"); aValue >>= xLayoutManager; diff --git a/sw/source/uibase/cctrl/swlbox.cxx b/sw/source/uibase/cctrl/swlbox.cxx index 9ee1e32f8aad..6db094e00d13 100644 --- a/sw/source/uibase/cctrl/swlbox.cxx +++ b/sw/source/uibase/cctrl/swlbox.cxx @@ -78,7 +78,7 @@ void SwComboBox::RemoveEntryAt(sal_Int32 const nPos) ComboBox::RemoveEntryAt(nPos); // Don't add new entries to the list - // add to DelEntryLst + // add to DelEntryList m_DelEntryList.push_back(m_EntryList[nPos]); m_EntryList.erase(m_EntryList.begin() + nPos); } -- cgit