summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-30 09:02:35 +0200
committerNoel Grandin <noel@peralex.com>2014-10-01 13:08:42 +0200
commit4923ac72aaca2f0671aed98de33902eac0810131 (patch)
tree999d46bfb45786d472e580ac0b24b667d9d56246 /include
parent787ca46d94cfcd6349f42954d6abbeed030a5398 (diff)
loplugin: cstylecast
Change-Id: I58582059495f7c50880038e2174ea2de026aa1c9
Diffstat (limited to 'include')
-rw-r--r--include/editeng/lcolitem.hxx4
-rw-r--r--include/editeng/svxrtf.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/editeng/lcolitem.hxx b/include/editeng/lcolitem.hxx
index 6720424bd83f..ba4c413c991f 100644
--- a/include/editeng/lcolitem.hxx
+++ b/include/editeng/lcolitem.hxx
@@ -44,8 +44,8 @@ public:
const SAL_OVERRIDE;
inline SvxLineColorItem& operator=(const SvxLineColorItem& rColor)
- { return (SvxLineColorItem&)SvxColorItem::
- operator=((const SvxColorItem&)rColor); }
+ { return static_cast<SvxLineColorItem&>(SvxColorItem::
+ operator=(static_cast<const SvxColorItem&>(rColor))); }
};
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index 7a4ef1cd93c2..842cd1106bb1 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -222,7 +222,7 @@ class EDITENG_DLLPUBLIC SvxRTFParser : public SvRTFParser
void SetAttrSet( SvxRTFItemStackType &rSet );
void SetDefault( int nToken, int nValue );
- // Excecute pard / plain
+ // Execute pard / plain
void RTFPardPlain( int bPard, SfxItemSet** ppSet );
void BuildWhichTbl();
@@ -325,7 +325,7 @@ public:
virtual bool IsEndPara( SvxNodeIdx* pNd, sal_Int32 nCnt ) const = 0;
- // to det a different attribute pool. May only be done prior to CallParser!
+ // to set a different attribute pool. May only be done prior to CallParser!
// The maps are not generated anew!
void SetAttrPool( SfxItemPool* pNewPool ) { pAttrPool = pNewPool; }
// to set different WhichIds for a different pool.