From 2db00e5d55e8a2ba67a1b57640cb8ad7573f1ce1 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sun, 11 Aug 2019 18:28:11 +0200 Subject: Fix typos Change-Id: Ide33657e227cb165900685af08db40ddda3d8293 Reviewed-on: https://gerrit.libreoffice.org/77283 Tested-by: Jenkins Reviewed-by: Julien Nabet --- svx/source/sdr/contact/viewcontact.cxx | 6 +++--- svx/source/sdr/contact/viewcontactofe3d.cxx | 2 +- svx/source/sdr/contact/viewcontactofe3dscene.cxx | 2 +- svx/source/sdr/contact/viewcontactofgraphic.cxx | 2 +- svx/source/sdr/contact/viewcontactofgroup.cxx | 2 +- svx/source/sdr/contact/viewcontactofsdrole2obj.cxx | 2 +- svx/source/sdr/contact/viewcontactofsdrpage.cxx | 2 +- svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx | 6 +++--- svx/source/sdr/overlay/overlaymanager.cxx | 2 +- svx/source/sdr/primitive2d/sdrframeborderprimitive2d.cxx | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) (limited to 'svx') diff --git a/svx/source/sdr/contact/viewcontact.cxx b/svx/source/sdr/contact/viewcontact.cxx index d87e052b9436..bfe5ae89712d 100644 --- a/svx/source/sdr/contact/viewcontact.cxx +++ b/svx/source/sdr/contact/viewcontact.cxx @@ -30,7 +30,7 @@ namespace sdr { namespace contact { -// Create a Object-Specific ViewObjectContact, set ViewContact and +// 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 ViewObjectContact& ViewContact::CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) @@ -68,7 +68,7 @@ void ViewContact::deleteAllVOCs() DBG_ASSERT(maViewObjectContactVector.empty(), "Corrupted ViewObjectContactList in VC (!)"); } -// get a Object-specific ViewObjectContact for a specific +// get an Object-specific ViewObjectContact for a specific // ObjectContact (->View). Always needs to return something. ViewObjectContact& ViewContact::GetViewObjectContact(ObjectContact& rObjectContact) { @@ -171,7 +171,7 @@ ViewContact* ViewContact::GetParentContact() const void ViewContact::ActionChildInserted(ViewContact& rChild) { - // propagate change to all exsisting visualisations which + // propagate change to all existing visualisations which // will force a VOC for the new child and invalidate its range const sal_uInt32 nCount(maViewObjectContactVector.size()); diff --git a/svx/source/sdr/contact/viewcontactofe3d.cxx b/svx/source/sdr/contact/viewcontactofe3d.cxx index c32e823b1ca3..c9bb60423e56 100644 --- a/svx/source/sdr/contact/viewcontactofe3d.cxx +++ b/svx/source/sdr/contact/viewcontactofe3d.cxx @@ -46,7 +46,7 @@ const sdr::contact::ViewContactOfE3dScene* tryToFindVCOfE3DScene( if(pSceneParentParent) { - // the parent scene of rCandidate is a in-between scene, call recursively and collect + // the parent scene of rCandidate is an in-between scene, call recursively and collect // the in-between scene's object transformation part in o_rInBetweenObjectTransform const basegfx::B3DHomMatrix& rSceneParentTransform = pSceneParent->GetE3dScene().GetTransform(); o_rInBetweenObjectTransform = rSceneParentTransform * o_rInBetweenObjectTransform; diff --git a/svx/source/sdr/contact/viewcontactofe3dscene.cxx b/svx/source/sdr/contact/viewcontactofe3dscene.cxx index 46ceeb6b7e45..87401bef06c4 100644 --- a/svx/source/sdr/contact/viewcontactofe3dscene.cxx +++ b/svx/source/sdr/contact/viewcontactofe3dscene.cxx @@ -134,7 +134,7 @@ void createSubPrimitive3DVector( namespace sdr { namespace contact { -// Create a Object-Specific ViewObjectContact, set ViewContact and +// Create an Object-Specific ViewObjectContact, set ViewContact and // ObjectContact. Always needs to return something. ViewObjectContact& ViewContactOfE3dScene::CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) { diff --git a/svx/source/sdr/contact/viewcontactofgraphic.cxx b/svx/source/sdr/contact/viewcontactofgraphic.cxx index 1f530dbb5683..45775316bf40 100644 --- a/svx/source/sdr/contact/viewcontactofgraphic.cxx +++ b/svx/source/sdr/contact/viewcontactofgraphic.cxx @@ -58,7 +58,7 @@ namespace sdr { namespace contact { - // Create a Object-Specific ViewObjectContact, set ViewContact and + // Create an Object-Specific ViewObjectContact, set ViewContact and // ObjectContact. Always needs to return something. ViewObjectContact& ViewContactOfGraphic::CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) { diff --git a/svx/source/sdr/contact/viewcontactofgroup.cxx b/svx/source/sdr/contact/viewcontactofgroup.cxx index 46561001adf7..2e2ad8a50eca 100644 --- a/svx/source/sdr/contact/viewcontactofgroup.cxx +++ b/svx/source/sdr/contact/viewcontactofgroup.cxx @@ -35,7 +35,7 @@ namespace sdr { namespace contact { - // Create a Object-Specific ViewObjectContact, set ViewContact and + // Create an Object-Specific ViewObjectContact, set ViewContact and // ObjectContact. Always needs to return something. ViewObjectContact& ViewContactOfGroup::CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) { diff --git a/svx/source/sdr/contact/viewcontactofsdrole2obj.cxx b/svx/source/sdr/contact/viewcontactofsdrole2obj.cxx index 7876c8e5a72a..7e28ff387010 100644 --- a/svx/source/sdr/contact/viewcontactofsdrole2obj.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrole2obj.cxx @@ -39,7 +39,7 @@ namespace sdr { namespace contact { -// Create a Object-Specific ViewObjectContact, set ViewContact and +// Create an Object-Specific ViewObjectContact, set ViewContact and // ObjectContact. Always needs to return something. ViewObjectContact& ViewContactOfSdrOle2Obj::CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) { diff --git a/svx/source/sdr/contact/viewcontactofsdrpage.cxx b/svx/source/sdr/contact/viewcontactofsdrpage.cxx index 3688eed6e2a0..e446851fee08 100644 --- a/svx/source/sdr/contact/viewcontactofsdrpage.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrpage.cxx @@ -475,7 +475,7 @@ ViewContactOfHelplines::~ViewContactOfHelplines() { } -// Create a Object-Specific ViewObjectContact, set ViewContact and +// Create an Object-Specific ViewObjectContact, set ViewContact and // ObjectContact. Always needs to return something. ViewObjectContact& ViewContactOfSdrPage::CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) { diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx index 725978f1bd6d..37d230372e96 100644 --- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx @@ -392,7 +392,7 @@ namespace sdr { namespace contact { return m_rPageView.GetVisibleLayers().IsSet( _nLayerID ); } - /** is a ->IPageViewAccess implementation which can be used to create an invisble control for + /** is a ->IPageViewAccess implementation which can be used to create an invisible control for an arbitrary window */ class InvisibleControlViewAccess : public IPageViewAccess @@ -816,7 +816,7 @@ namespace sdr { namespace contact { private: ::rtl::Reference< ViewObjectContactOfUnoControl_Impl > m_pVOCImpl; - /** The geometry is part of the identity of an primitive, so we cannot calculate it on demand + /** The geometry is part of the identity of a primitive, so we cannot calculate it on demand (since the data the calculation is based on might have changed then), but need to calc it at construction time, and remember it. */ @@ -1368,7 +1368,7 @@ namespace sdr { namespace contact { try { - // if the control is part of a invisible layer, we need to explicitly hide it in alive mode + // if the control is part of an invisible layer, we need to explicitly hide it in alive mode impl_adjustControlVisibilityToLayerVisibility_throw(); } catch( const Exception& ) diff --git a/svx/source/sdr/overlay/overlaymanager.cxx b/svx/source/sdr/overlay/overlaymanager.cxx index 62d0e5d8d9a1..26671f8fb1e2 100644 --- a/svx/source/sdr/overlay/overlaymanager.cxx +++ b/svx/source/sdr/overlay/overlaymanager.cxx @@ -151,7 +151,7 @@ namespace sdr { const Size aOutputSizePixel(getOutputDevice().GetOutputSizePixel()); - // only set when we *have* a output size, else let aViewRange + // only set when we *have* an output size, else let aViewRange // stay on empty if(aOutputSizePixel.Width() && aOutputSizePixel.Height()) { diff --git a/svx/source/sdr/primitive2d/sdrframeborderprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrframeborderprimitive2d.cxx index 3abd6b893288..c2af0c9a69ec 100644 --- a/svx/source/sdr/primitive2d/sdrframeborderprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrframeborderprimitive2d.cxx @@ -224,7 +224,7 @@ namespace void sort() { - // sort inverse fom highest to lowest + // sort inverse from highest to lowest std::sort( maEntries.begin(), maEntries.end(), -- cgit