[Libreoffice-commits] core.git: include/svx sd/source svx/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 1 06:52:52 UTC 2020
include/svx/svdmrkv.hxx | 4 ++--
sd/source/ui/app/sdxfer.cxx | 2 +-
svx/source/dialog/dlgctrl.cxx | 6 +++---
svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit d350f0c712cf7b29d8c633be0394b63de0f8dc3a
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 31 14:55:28 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 1 08:52:10 2020 +0200
Fix typo
Change-Id: If76dc19adc13548afc0ee5b521321ca439da638d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101782
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx
index bc4016d69801..f75ffa896d7e 100644
--- a/include/svx/svdmrkv.hxx
+++ b/include/svx/svdmrkv.hxx
@@ -101,7 +101,7 @@ class SVXCORE_DLLPUBLIC SdrMarkView : public SdrSnapView
protected:
SdrObject* mpMarkedObj; // If not just one object ( i.e. More than one object ) is marked.
- SdrPageView* mpMarkedPV; // If all marked obects are situated on the same PageView.
+ SdrPageView* mpMarkedPV; // If all marked objects are situated on the same PageView.
Point maRef1; // Persistent - Rotation center / axis of reflection
Point maRef2; // Persistent
@@ -453,7 +453,7 @@ public:
// a vertical area of 200 logical units is sensitive.
// - For a polygon, a rectangular of the size (200,200) is generated and a
// touch test between Poly and this Rect is processed.
-// - Obects which respond SdrObject::HasEdit()==TRUE ( e.g. a text frame ),
+// - Objects which respond SdrObject::HasEdit()==TRUE ( e.g. a text frame ),
// are specially treated: An additional sensitive area with a width of
// 2*Tol (200 units for this example) is created around the object.
// When an object is directly hit, the Edit method is called.
diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx
index b56c4a7c6389..c473468e1dfe 100644
--- a/sd/source/ui/app/sdxfer.cxx
+++ b/sd/source/ui/app/sdxfer.cxx
@@ -221,7 +221,7 @@ void SdTransferable::CreateObjectReplacement( SdrObject* pObj )
// as content and directly add this to the clipboard, probably to avoid adding
// an unnecessary DrawObject to the target where paste may take place. This is
// wanted only for SdrObjects with no fill and no line, else it is necessary to
- // use the whole SdrObect. Test here for Line/FillStyle and take shortcut only
+ // use the whole SdrObject. Test here for Line/FillStyle and take shortcut only
// when both are unused
if(!pObj->HasFillStyle() && !pObj->HasLineStyle())
{
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index 75f9319fce5f..4a353d55033a 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -1066,7 +1066,7 @@ void SvxXLinePreview::Resize()
const sal_Int32 nDistance(500);
const sal_Int32 nAvailableLength(aOutputSize.Width() - (4 * nDistance));
- // create DrawObectA
+ // create DrawObjectA
const sal_Int32 aYPosA(aOutputSize.Height() / 2);
const basegfx::B2DPoint aPointA1( nDistance, aYPosA);
const basegfx::B2DPoint aPointA2( aPointA1.getX() + ((nAvailableLength * 14) / 20), aYPosA );
@@ -1075,7 +1075,7 @@ void SvxXLinePreview::Resize()
aPolygonA.append(aPointA2);
mpLineObjA->SetPathPoly(basegfx::B2DPolyPolygon(aPolygonA));
- // create DrawObectB
+ // create DrawObjectB
const sal_Int32 aYPosB1((aOutputSize.Height() * 3) / 4);
const sal_Int32 aYPosB2((aOutputSize.Height() * 1) / 4);
const basegfx::B2DPoint aPointB1( aPointA2.getX() + nDistance, aYPosB1);
@@ -1087,7 +1087,7 @@ void SvxXLinePreview::Resize()
aPolygonB.append(aPointB3);
mpLineObjB->SetPathPoly(basegfx::B2DPolyPolygon(aPolygonB));
- // create DrawObectC
+ // create DrawObjectC
basegfx::B2DPolygon aPolygonC;
const basegfx::B2DPoint aPointC1( aPointB3.getX() + nDistance, aYPosB1);
const basegfx::B2DPoint aPointC2( aPointC1.getX() + ((nAvailableLength * 1) / 20), aYPosB2 );
diff --git a/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx b/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx
index 3ac982af73df..ccc70b0d3805 100644
--- a/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx
+++ b/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx
@@ -134,7 +134,7 @@ namespace sdr::contact
// see createViewIndependentPrimitive2DSequence implementations and usage of
// GetObjectCount()). Thus in principle iterating here (esp. 'deep') seems to
// be wrong anyways, it might have even created wrong and double geometries
- // (only with complex CustomShapes with multiple representation SdrObects and
+ // (only with complex CustomShapes with multiple representation SdrObjects and
// only visible when transparency involved, but runtime-expensive).
// Thus: Just do not iterate, will check behaviour deeply.
b3DShape = (nullptr != dynamic_cast< const E3dObject* >(pSdrObjRepresentation));
More information about the Libreoffice-commits
mailing list