summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/frmedt/fefly1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx
index d7300e0f0310..a20dceb973e2 100644
--- a/sw/source/core/frmedt/fefly1.cxx
+++ b/sw/source/core/frmedt/fefly1.cxx
@@ -1920,7 +1920,7 @@ OUString SwFEShell::GetObjTitle() const
const SwFrmFmt* pFmt = FindFrmFmt( pObj );
if ( pFmt->Which() == RES_FLYFRMFMT )
{
- return dynamic_cast<const SwFlyFrmFmt*>(pFmt)->GetObjTitle();
+ return static_cast<const SwFlyFrmFmt*>(pFmt)->GetObjTitle();
}
return pObj->GetTitle();
}