sc/source/ui/view/viewfun7.cxx                    |    2 +-
 svx/source/sdr/properties/attributeproperties.cxx |    6 +++---
 svx/source/svdraw/svdobj.cxx                      |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit a65d69179ee0a2b8035746a8e4c8000770758974
Author: Andrea Gelmini <andrea.gelm...@gelma.net>
Date:   Sat Apr 7 14:04:34 2018 +0200

    Fix typos
    
    Change-Id: I0c9d917b8673680dbd0729f7f9a4cf5a6e686908
    Reviewed-on: https://gerrit.libreoffice.org/52543
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/sc/source/ui/view/viewfun7.cxx b/sc/source/ui/view/viewfun7.cxx
index 36e9df26a0bd..e92cac423167 100644
--- a/sc/source/ui/view/viewfun7.cxx
+++ b/sc/source/ui/view/viewfun7.cxx
@@ -153,7 +153,7 @@ void ScViewFunc::PasteDraw( const Point& rLogicPos, 
SdrModel* pModel,
                 const SdrMark* pM=aMark.GetMark(nm);
                 const SdrObject* pObj=pM->GetMarkedSdrObj();
 
-                // Directly Clone to taget  SdrModel
+                // Directly Clone to target SdrModel
                 SdrObject* pNewObj(pObj->Clone(pDrawModel));
 
                 if (pNewObj!=nullptr)
diff --git a/svx/source/sdr/properties/attributeproperties.cxx 
b/svx/source/sdr/properties/attributeproperties.cxx
index eab25a1526f8..7367abfbcb3d 100644
--- a/svx/source/sdr/properties/attributeproperties.cxx
+++ b/svx/source/sdr/properties/attributeproperties.cxx
@@ -238,7 +238,7 @@ namespace sdr
             const bool bHadSfxItemSet(HasSfxItemSet());
 
             // call parent - this will then guarantee
-            // SfxItemSet existance
+            // SfxItemSet existence
             DefaultProperties::GetObjectItemSet();
 
             if(!bHadSfxItemSet)
@@ -249,7 +249,7 @@ namespace sdr
                     // it's creation. See copy-constructor and how it remembers
                     // the SfxStyleSheet there.
                     // It is necessary to reset mpStyleSheet to nullptr to
-                    // not trigger alarm insde ImpAddStyleSheet (!)
+                    // not trigger alarm inside ImpAddStyleSheet (!)
                     SfxStyleSheet* pNew(mpStyleSheet);
                     const_cast< AttributeProperties* >(this)->mpStyleSheet = 
nullptr;
                     const_cast< AttributeProperties* >(this)->ImpAddStyleSheet(
@@ -357,7 +357,7 @@ namespace sdr
 
         void AttributeProperties::SetStyleSheet(SfxStyleSheet* pNewStyleSheet, 
bool bDontRemoveHardAttr)
         {
-            // guarantee SfxItemSet existance here
+            // guarantee SfxItemSet existence here
             if(!HasSfxItemSet())
             {
                 GetObjectItemSet();
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 5ec98ef00b9c..9351a676a5c7 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -227,7 +227,7 @@ sdr::properties::BaseProperties& SdrObject::GetProperties() 
const
     if(!mpProperties)
     {
         // CAUTION(!) Do *not* call this during SdrObject construction,
-        // that will lead to wrong type-casts (dependent on costructor-level)
+        // that will lead to wrong type-casts (dependent on constructor-level)
         // and thus eventually create the wrong sdr::properties (!). Is there
         // a way to check if on the stack is a SdrObject-constructor (?)
         const_cast< SdrObject* >(this)->mpProperties.reset(
@@ -444,7 +444,7 @@ void SdrObject::SetPage(SdrPage* pNewPage)
     // good to think about if this is really needed - it *seems* to be intended
     // for a xShape being a on-demand-creatable resource - wit hthe argument 
that
     // the SdrPage/UnoPage used influences the SvxShape creation. This uses
-    // ressources and would be nice to get rid of anyways.
+    // resources and would be nice to get rid of anyways.
     if (pOldPage != pPage && !(pOldPage && pPage && pOldModel == 
&getSdrModelFromSdrObject()))
     {
         SvxShape* const pShape(getSvxShape());
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to