summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8esh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/wrtw8esh.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index 9027122be771..b32e64b99433 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -2290,7 +2290,7 @@ SwEscherEx::SwEscherEx(SvStream* pStrm, WW8Export& rWW8Wrt)
if (SdrPage *pPage = pModel->GetPage(0))
{
bSwapInPage = true;
- (const_cast<SdrObject*>(pSdrObj))->SetPage(pPage);
+ const_cast<SdrObject*>(pSdrObj)->SetPage(pPage);
}
}
}
@@ -2298,7 +2298,7 @@ SwEscherEx::SwEscherEx(SvStream* pStrm, WW8Export& rWW8Wrt)
nShapeId = AddSdrObject(*pSdrObj);
if (bSwapInPage)
- (const_cast<SdrObject*>(pSdrObj))->SetPage(nullptr);
+ const_cast<SdrObject*>(pSdrObj)->SetPage(nullptr);
}
#if OSL_DEBUG_LEVEL > 0
else