summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/xfilter/xfframe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/xfilter/xfframe.cxx')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfframe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfframe.cxx b/lotuswordpro/source/filter/xfilter/xfframe.cxx
index 6cb2dde102fc..3eee43d15040 100644
--- a/lotuswordpro/source/filter/xfilter/xfframe.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfframe.cxx
@@ -97,7 +97,7 @@ void XFFrame::Add(XFContent *pContent)
XFContentContainer::Add(pContent);
if( pContent->GetContentType() == enumXFContentFrame )
{
- XFFrame *pFrame = (XFFrame*)pContent;
+ XFFrame *pFrame = static_cast<XFFrame*>(pContent);
if( pFrame )
{
pFrame->SetZIndex(pFrame->m_nZIndex + 1);
@@ -199,7 +199,7 @@ void XFFrame::AdjustZIndex()
{
if( pContent->GetContentType() == enumXFContentFrame )
{
- XFFrame *pFrame = (XFFrame*)pContent.get();
+ XFFrame *pFrame = static_cast<XFFrame*>(pContent.get());
pFrame->m_nZIndex = m_nZIndex + 1;
pFrame->AdjustZIndex();
}