summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-04-07 14:04:34 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-04-12 20:11:22 +0200
commita65d69179ee0a2b8035746a8e4c8000770758974 (patch)
tree9ceef86664d21710a25cfd40835dc457b8a307d7 /svx
parentcde434d1f6e611cd35de3595bdfc47769acc5d2d (diff)
Fix typos
Change-Id: I0c9d917b8673680dbd0729f7f9a4cf5a6e686908 Reviewed-on: https://gerrit.libreoffice.org/52543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sdr/properties/attributeproperties.cxx6
-rw-r--r--svx/source/svdraw/svdobj.cxx4
2 files changed, 5 insertions, 5 deletions
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());