summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-24 14:36:01 +0200
committerNoel Grandin <noel@peralex.com>2015-07-24 14:36:01 +0200
commit633788b18844bb3d8c6e73fd19817fc18d223c23 (patch)
treeb2e6ac9c4e605011f037011d1731c954d7da8ad9 /sw
parent2792868df58808902a6bc7f58fd50970a0a756c0 (diff)
loplugin:redundantcast
Change-Id: I6564f151e1ebce95fc7cef0a46d470003a377839
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8graf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx
index 4bca5710d22d..e030160839c5 100644
--- a/sw/source/filter/ww8/ww8graf.cxx
+++ b/sw/source/filter/ww8/ww8graf.cxx
@@ -2549,7 +2549,7 @@ SwFrameFormat* SwWW8ImplReader::Read_GrafLayer( long nGrafAnchorCp )
{
if ((*it)->pObj == pObject)
{
- pRecord = const_cast<SvxMSDffImportRec *>(it->get());
+ pRecord = it->get();
break;
}
}
@@ -2682,7 +2682,7 @@ SwFrameFormat* SwWW8ImplReader::Read_GrafLayer( long nGrafAnchorCp )
for (MSDffImportRecords::const_iterator it = aData.begin();
it != aData.end(); ++it)
{
- pRecord = const_cast<SvxMSDffImportRec *>(it->get());
+ pRecord = it->get();
if (pRecord->pObj && pRecord->aTextId.nTxBxS)
{ // #i52825# pRetFrameFormat can be NULL
pRetFrameFormat = MungeTextIntoDrawBox(pRecord->pObj,