diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8graf.cxx | 4 |
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, |