summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-10-02 00:24:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-03 06:15:59 +0000
commit14d096e2bf7998de55350b8fe53ec511dedcc477 (patch)
treed542c6496db0b99c7377236ce89edaed9d854bcf /sw
parentba3521f28831f41c92aa863ba6ba6da7c91c56f7 (diff)
Fix typos
Change-Id: Ie75beb4e282a4d1b784a5847262e39cf9c851527 Reviewed-on: https://gerrit.libreoffice.org/29440 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/xml/xmlimpit.cxx2
-rw-r--r--sw/source/ui/misc/bookmark.cxx2
-rw-r--r--sw/source/uibase/app/apphdl.cxx2
-rw-r--r--sw/source/uibase/cctrl/swlbox.cxx2
4 files changed, 4 insertions, 4 deletions
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<beans::XPropertySet> 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<frame::XLayoutManager> 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);
}