summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-02-02 19:47:20 +0100
committerjan iversen <jani@documentfoundation.org>2016-02-05 06:48:38 +0000
commit534b2a4b58ba765dbc256d6297e33453524915e2 (patch)
tree68524baff923ce094392f49e0f263ae0d35f80e9 /sw/source
parent7f5de2436a5c51ee8dec38a9b04f4a1b3589e361 (diff)
Fix typos
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/DocumentContentOperationsManager.cxx4
-rw-r--r--sw/source/core/doc/textboxhelper.cxx2
-rw-r--r--sw/source/core/frmedt/fews.cxx2
-rw-r--r--sw/source/core/inc/ascharanchoredobjectposition.hxx2
-rw-r--r--sw/source/core/inc/environmentofanchoredobject.hxx2
-rw-r--r--sw/source/core/text/txttab.cxx2
-rw-r--r--sw/source/core/txtnode/fntcache.cxx2
-rw-r--r--sw/source/core/txtnode/thints.cxx2
-rw-r--r--sw/source/core/unocore/unochart.cxx4
-rw-r--r--sw/source/core/unocore/unoobj.cxx2
-rw-r--r--sw/source/core/unocore/unostyle.cxx4
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx2
-rw-r--r--sw/source/uibase/uno/unomailmerge.cxx2
13 files changed, 16 insertions, 16 deletions
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 1cbe47147eda..a82075e8390d 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -3219,7 +3219,7 @@ void DocumentContentOperationsManager::CopyWithFlyInFly(
// partial 1st paragraph of redline is not copied.
// But the DelFlyInRange() that is called from DelCopyOfSection() does not
// delete it either, and it also does not delete those on partial last para of
-// redline, so copying those is supressed here too ...
+// redline, so copying those is suppressed here too ...
void DocumentContentOperationsManager::CopyFlyInFlyImpl(
const SwNodeRange& rRg,
const sal_Int32 nEndContentIndex,
@@ -4353,7 +4353,7 @@ bool DocumentContentOperationsManager::CopyImpl( SwPaM& rPam, SwPosition& rPos,
else if( bCanMoveBack )
{ //Insertion at the first position of a text node. It will not be splitted, the table
// will be inserted before the text node.
- // See below, before the SetInsertRange funciton of the undo object will be called,
+ // See below, before the SetInsertRange function of the undo object will be called,
// the CpyPam would be moved to the next content position. This has to be avoided
// We want to be moved to the table node itself thus we have to set bCanMoveBack
// and to manipulate pCopyPam.
diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx
index 33c3ad0b4c16..1d334b504920 100644
--- a/sw/source/core/doc/textboxhelper.cxx
+++ b/sw/source/core/doc/textboxhelper.cxx
@@ -643,7 +643,7 @@ void SwTextBoxHelper::syncFlyFrameAttr(SwFrameFormat& rShape, SfxItemSet& rSet)
aTextBoxSet.Put(aOrient);
- // restore height (shrinked for extending beyond the page bottom - tdf#91260)
+ // restore height (shrunk for extending beyond the page bottom - tdf#91260)
SwFormatFrameSize aSize(pFormat->GetFrameSize());
if (!aRect.IsEmpty())
{
diff --git a/sw/source/core/frmedt/fews.cxx b/sw/source/core/frmedt/fews.cxx
index 52de1168b99a..b5fb02327a68 100644
--- a/sw/source/core/frmedt/fews.cxx
+++ b/sw/source/core/frmedt/fews.cxx
@@ -471,7 +471,7 @@ void SwFEShell::InsertLabel( const SwLabelType eType, const OUString &rText, con
//content was a frame/graphic, then set the contained element
//to as-char anchoring because that's all msword is able to
//do when inside a frame, and in writer for freshly captioned
- //elements it's largely irrelevent what the anchor of the contained
+ //elements it's largely irrelevant what the anchor of the contained
//type is but making it as-char by default results in very
//good roundtripping
if (pFlyFormat && bInnerCntIsFly)
diff --git a/sw/source/core/inc/ascharanchoredobjectposition.hxx b/sw/source/core/inc/ascharanchoredobjectposition.hxx
index 1a2fb9e70bef..207130b40663 100644
--- a/sw/source/core/inc/ascharanchoredobjectposition.hxx
+++ b/sw/source/core/inc/ascharanchoredobjectposition.hxx
@@ -87,7 +87,7 @@ namespace objectpositioning
const SwFormatVertOrient& _rVert );
public:
- /** construtor; provided object to be positioned and needed data
+ /** constructor; provided object to be positioned and needed data
for calculation of the object position
@param _rDrawObj
diff --git a/sw/source/core/inc/environmentofanchoredobject.hxx b/sw/source/core/inc/environmentofanchoredobject.hxx
index 13415589191e..10cc50058a00 100644
--- a/sw/source/core/inc/environmentofanchoredobject.hxx
+++ b/sw/source/core/inc/environmentofanchoredobject.hxx
@@ -31,7 +31,7 @@ namespace objectpositioning
const bool mbFollowTextFlow;
public:
- /** construtor
+ /** constructor
@param _bFollowTextFlow
input parameter - indicates, if the anchored object, for which
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx
index d4aace514393..21d5b3215694 100644
--- a/sw/source/core/text/txttab.cxx
+++ b/sw/source/core/text/txttab.cxx
@@ -482,7 +482,7 @@ bool SwTabPortion::PostFormat( SwTextFormatInfo &rInf )
const sal_uInt16 nAdjDiff = nDiffWidth - nPorWidth;
if( nAdjDiff > GetFixWidth() )
PrtWidth( nAdjDiff );
- // Dont be afraid: we have to move rInf further.
+ // Don't be afraid: we have to move rInf further.
// The right-tab till now only had the width of one blank.
// Now that we stretched, the difference had to be added to rInf.X() !
rInf.X( rInf.X() + PrtWidth() - nOldWidth );
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 4389f10b293e..e49cfe152763 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -2571,7 +2571,7 @@ bool SwDrawTextInfo::ApplyAutoColor( vcl::Font* pFont )
{
if (aFillAttributes.get() && aFillAttributes->isUsed())
{
- // First see if fill atttributes provide a color.
+ // First see if fill attributes provide a color.
aColor = Color(aFillAttributes->getAverageColor(aGlobalRetoucheColor.getBColor()));
pCol = &aColor;
}
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index e42b6dc559af..6b5abd809b68 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1774,7 +1774,7 @@ bool SwTextNode::IsIgnoredCharFormatForNumbering(const sal_uInt16 nWhich)
return (nWhich == RES_CHRATR_UNDERLINE || nWhich == RES_CHRATR_COLOR || nWhich == RES_CHRATR_BACKGROUND || nWhich == RES_CHRATR_ESCAPEMENT);
}
-//In MS Word, following properties of the paragraph end position wont affect the formatting of bullets, so we ignore them:
+//In MS Word, following properties of the paragraph end position won't affect the formatting of bullets, so we ignore them:
//Font underline;
//Font Italic of Western, CJK and CTL;
//Font Bold of Wertern, CJK and CTL;
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 4bce779bc2f7..a22b4da2b70f 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -1910,7 +1910,7 @@ SwChartDataSequence::SwChartDataSequence(
}
catch (uno::RuntimeException &)
{
- // TODO: shouldnt there be a call to release() here?
+ // TODO: shouldn't there be a call to release() here?
throw;
}
catch (uno::Exception &)
@@ -1958,7 +1958,7 @@ SwChartDataSequence::SwChartDataSequence( const SwChartDataSequence &rObj ) :
}
catch (uno::RuntimeException &)
{
- // TODO: shouldnt there be a call to release() here?
+ // TODO: shouldn't there be a call to release() here?
throw;
}
catch (uno::Exception &)
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index b3d00eec2861..f30d1c176a7a 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -1499,7 +1499,7 @@ throw (uno::RuntimeException, std::exception)
SwUnoCursor & rUnoCursor( m_pImpl->GetCursorOrThrow() );
SwUnoCursorHelper::SelectPam(rUnoCursor, Expand);
- // if we're at the para start then we wont move
+ // if we're at the para start then we won't move
// but bRet is also true if GoSentence failed but
// the start of the sentence is reached
bool bRet = SwUnoCursorHelper::IsStartOfPara(rUnoCursor)
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index b50d3954aeb8..01c87e6f0999 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -1822,7 +1822,7 @@ void SwXStyle::SetStyleProperty(const SfxItemPropertySimpleEntry& rEntry, const
if(!pUnoToCore)
{
pUnoToCore.reset(new std::map<propertytype_t, coresetter_t> {
- // these explicit std::mem_fn() calls shouldnt be needed, but apparently MSVC is currently too stupid for C++11 again
+ // these explicit std::mem_fn() calls shouldn't be needed, but apparently MSVC is currently too stupid for C++11 again
{ FN_UNO_HIDDEN, std::mem_fn(&SwXStyle::SetPropertyValue<FN_UNO_HIDDEN>) },
{ FN_UNO_STYLE_INTEROP_GRAB_BAG, std::mem_fn(&SwXStyle::SetPropertyValue<FN_UNO_STYLE_INTEROP_GRAB_BAG>) },
{ XATTR_FILLGRADIENT, std::mem_fn(&SwXStyle::SetPropertyValue<XATTR_FILLGRADIENT>) },
@@ -3464,7 +3464,7 @@ uno::Sequence< uno::Any > SAL_CALL SwXPageStyle::GetPropertyValues_Impl(
// TextLeft returns the left content if there is one,
// Text and TextRight return the master content.
// TextRight does the same as Text and is for
- // compatability only.
+ // compatibility only.
if( bLeft && !bShare )
{
pFrameFormat = &pDesc->GetLeft();
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index bfb3a40cc25a..f6517164f4ad 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -1469,7 +1469,7 @@ void SwEditWin::KeyInput(const KeyEvent &rKEvt)
const vcl::KeyCode& rKeyCode = aKeyEvent.GetKeyCode();
sal_Unicode aCh = aKeyEvent.GetCharCode();
- // enable switching to notes ankor with Ctrl - Alt - Page Up/Down
+ // enable switching to notes anchor with Ctrl - Alt - Page Up/Down
// pressing this inside a note will switch to next/previous note
if ((rKeyCode.IsMod1() && rKeyCode.IsMod2()) && ((rKeyCode.GetCode() == KEY_PAGEUP) || (rKeyCode.GetCode() == KEY_PAGEDOWN)))
{
diff --git a/sw/source/uibase/uno/unomailmerge.cxx b/sw/source/uibase/uno/unomailmerge.cxx
index 8bb6332f686c..dcfa83aee316 100644
--- a/sw/source/uibase/uno/unomailmerge.cxx
+++ b/sw/source/uibase/uno/unomailmerge.cxx
@@ -548,7 +548,7 @@ uno::Any SAL_CALL SwXMailMerge::execute(
}
// need to translate the selection: the API here requires a sequence of bookmarks, but the MergeNew
- // method we will call below requires a sequence of indicies.
+ // method we will call below requires a sequence of indices.
if ( aCurSelection.getLength() )
{
Sequence< Any > aTranslated( aCurSelection.getLength() );