summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:26:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:26:19 +0200
commit2e2a46fc651e8a030434e11ca35d2b1bab423c9a (patch)
treea04553454796f6644095223ce405afa7fb07f522 /include
parenta9ae0c394b7b763e2c0090defc6d21cc76b1ab87 (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I35092571da3360038665b4d6bb993f92390f8d8d
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxrtf.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index 42098f663220..fee26224b813 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -391,7 +391,7 @@ public:
inline const Color& SvxRTFParser::GetColor( size_t nId ) const
{
- ColorPtr pColor = (ColorPtr)pDfltColor;
+ ColorPtr pColor = pDfltColor;
if( nId < aColorTbl.size() )
pColor = aColorTbl[ nId ];
return *pColor;