diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:26:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:26:33 +0200 |
commit | 7d8526962f3760c03432f605e1b49b21d5c0c9fa (patch) | |
tree | c7a891fe2e91b6876cce94a23717aa4c88f49a40 /filter/source/graphicfilter/eos2met/eos2met.cxx | |
parent | loplugin:cstylecast: deal with those that are (technically) const_cast (diff) | |
download | core-7d8526962f3760c03432f605e1b49b21d5c0c9fa.tar.gz core-7d8526962f3760c03432f605e1b49b21d5c0c9fa.zip |
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I0724eff3d9fb2912ba54515945efb8aaacf486db
Diffstat (limited to 'filter/source/graphicfilter/eos2met/eos2met.cxx')
-rw-r--r-- | filter/source/graphicfilter/eos2met/eos2met.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/eos2met/eos2met.cxx b/filter/source/graphicfilter/eos2met/eos2met.cxx index 3acff99057c5..1f5b80cbad5f 100644 --- a/filter/source/graphicfilter/eos2met/eos2met.cxx +++ b/filter/source/graphicfilter/eos2met/eos2met.cxx @@ -321,7 +321,7 @@ void METWriter::CountActionsAndBitmaps(const GDIMetaFile * pMTF) size_t nCount = aGDIMetaFile.GetActionSize(); size_t i; for ( i = 0; i < nCount; i++ ) - if ( ((const MetaAction*)aGDIMetaFile.GetAction( i ))->GetType() == MetaActionType::BMPSCALE ) + if ( const_cast<const MetaAction*>(aGDIMetaFile.GetAction( i ))->GetType() == MetaActionType::BMPSCALE ) break; if ( i == nCount) break; |