Kaydet (Commit) 633788b1 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:redundantcast

Change-Id: I6564f151e1ebce95fc7cef0a46d470003a377839
üst 2792868d
......@@ -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,
......
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