summaryrefslogtreecommitdiff
path: root/sw/source/core/draw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-05 12:21:31 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-05 17:10:26 +0200
commit3b0b85353b2a98487da9689e4d338d2e85ee4c67 (patch)
tree0f235025c08974acba8c76d3fa3b03a44af4cd95 /sw/source/core/draw
parent05ba4af68f0fbb6bb0fd7487588c98eca2355b62 (diff)
Fix typos
Change-Id: I14036476ce3f240d0fdcae7deaa1787f4f47e108 Reviewed-on: https://gerrit.libreoffice.org/76976 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/core/draw')
-rw-r--r--sw/source/core/draw/dcontact.cxx4
-rw-r--r--sw/source/core/draw/dflyobj.cxx2
-rw-r--r--sw/source/core/draw/dview.cxx8
3 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx
index 9efa66eef1bc..6acc1c342a20 100644
--- a/sw/source/core/draw/dcontact.cxx
+++ b/sw/source/core/draw/dcontact.cxx
@@ -581,7 +581,7 @@ void SwFlyDrawContact::MoveObjToVisibleLayer( SdrObject* _pDrawObj )
SwFlyFrame* pFlyFrame = static_cast<SwVirtFlyDrawObj*>(_pDrawObj)->GetFlyFrame();
// #i44464# - consider, that Writer fly frame content
- // already exists - (e.g. WW8 document is inserted into a existing document).
+ // already exists - (e.g. WW8 document is inserted into an existing document).
if ( !pFlyFrame->Lower() )
{
pFlyFrame->InsertColumns();
@@ -2021,7 +2021,7 @@ namespace sdr
class VCOfDrawVirtObj : public ViewContactOfVirtObj
{
protected:
- /** Create a Object-Specific ViewObjectContact, set ViewContact and ObjectContact.
+ /** Create an Object-Specific ViewObjectContact, set ViewContact and ObjectContact.
*
* Always needs to return something. Default is to create a standard ViewObjectContact
* containing the given ObjectContact and *this.
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index 890ee455a28a..4b4d680001e3 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -650,7 +650,7 @@ void SwVirtFlyDrawObj::NbcMove(const Size& rSiz)
const Point aNewPos( aOutRect.TopLeft() );
const SwRect aFlyRect( aOutRect );
- //If the Fly has a automatic align (right or top),
+ //If the Fly has an automatic align (right or top),
//so preserve the automatic.
SwFrameFormat *pFormat = GetFlyFrame()->GetFormat();
const sal_Int16 eHori = pFormat->GetHoriOrient().GetHoriOrient();
diff --git a/sw/source/core/draw/dview.cxx b/sw/source/core/draw/dview.cxx
index 590885d8b7f1..e617a6da8dec 100644
--- a/sw/source/core/draw/dview.cxx
+++ b/sw/source/core/draw/dview.cxx
@@ -545,7 +545,7 @@ void SwDrawView::ObjOrderChanged( SdrObject* pObj, size_t nOldPos,
while ( pTmpObj )
{
// #i38563# - assure, that anchor frame exists.
- // If object is anchored inside a invisible part of the document
+ // If object is anchored inside an invisible part of the document
// (e.g. page header, whose page style isn't applied, or hidden
// section), no anchor frame exists.
const SwFrame* pTmpAnchorFrame = lcl_FindAnchor( pTmpObj, true );
@@ -598,7 +598,7 @@ void SwDrawView::ObjOrderChanged( SdrObject* pObj, size_t nOldPos,
break;
// #i38563# - assure, that anchor frame exists.
- // If object is anchored inside a invisible part of the document
+ // If object is anchored inside an invisible part of the document
// (e.g. page header, whose page style isn't applied, or hidden
// section), no anchor frame exists.
const SwFrame* pTmpAnchorFrame = lcl_FindAnchor( pTmpObj, true );
@@ -769,9 +769,9 @@ void SwDrawView::MarkListHasChanged()
void SwDrawView::ModelHasChanged()
{
// The ModelHasChanged() call in DrawingLayer also updates
- // a eventually active text edit view (OutlinerView). This also leads
+ // an eventually active text edit view (OutlinerView). This also leads
// to newly setting the background color for that edit view. Thus,
- // this method rescues the current background color if a OutlinerView
+ // this method rescues the current background color if an OutlinerView
// exists and re-establishes it then. To be more safe, the OutlinerView
// will be fetched again (maybe textedit has ended).
OutlinerView* pView = GetTextEditOutlinerView();