summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/view/viewfun7.cxx2
-rw-r--r--svx/source/sdr/properties/attributeproperties.cxx6
-rw-r--r--svx/source/svdraw/svdobj.cxx4
3 files changed, 6 insertions, 6 deletions
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());