Kaydet (Commit) 2e2a46fc authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: deal with those that are (technically) const_cast

Change-Id: I35092571da3360038665b4d6bb993f92390f8d8d
üst a9ae0c39
...@@ -391,7 +391,7 @@ public: ...@@ -391,7 +391,7 @@ public:
inline const Color& SvxRTFParser::GetColor( size_t nId ) const inline const Color& SvxRTFParser::GetColor( size_t nId ) const
{ {
ColorPtr pColor = (ColorPtr)pDfltColor; ColorPtr pColor = pDfltColor;
if( nId < aColorTbl.size() ) if( nId < aColorTbl.size() )
pColor = aColorTbl[ nId ]; pColor = aColorTbl[ nId ];
return *pColor; return *pColor;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment