summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/edtwin3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/edtwin3.cxx')
-rw-r--r--sw/source/uibase/docvw/edtwin3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/edtwin3.cxx b/sw/source/uibase/docvw/edtwin3.cxx
index c69ebfcbd4eb..006cf7ff109d 100644
--- a/sw/source/uibase/docvw/edtwin3.cxx
+++ b/sw/source/uibase/docvw/edtwin3.cxx
@@ -78,8 +78,8 @@ void PageNumNotify( SwViewShell* pVwSh, sal_uInt16 nPhyNum, sal_uInt16 nVirtNum,
void FrameNotify( SwViewShell* pVwSh, FlyMode eMode )
{
- if ( dynamic_cast< const SwCrsrShell *>( pVwSh ) != nullptr )
- SwBaseShell::SetFrmMode( eMode, static_cast<SwWrtShell*>(pVwSh) );
+ if ( dynamic_cast< const SwCursorShell *>( pVwSh ) != nullptr )
+ SwBaseShell::SetFrameMode( eMode, static_cast<SwWrtShell*>(pVwSh) );
}
// Notify for page number update