summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/docstdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dialog/docstdlg.cxx')
-rw-r--r--sw/source/ui/dialog/docstdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dialog/docstdlg.cxx b/sw/source/ui/dialog/docstdlg.cxx
index 8e3f0acfc511..a109c8af1258 100644
--- a/sw/source/ui/dialog/docstdlg.cxx
+++ b/sw/source/ui/dialog/docstdlg.cxx
@@ -117,8 +117,8 @@ void SwDocStatPage::Update()
ViewShell *pSh = 0;
if ( pVSh->ISA(SwView) )
pSh = ((SwView*)pVSh)->GetWrtShellPtr();
- else if ( pVSh->ISA(SwPagePreView) )
- pSh = ((SwPagePreView*)pVSh)->GetViewShell();
+ else if ( pVSh->ISA(SwPagePreview) )
+ pSh = ((SwPagePreview*)pVSh)->GetViewShell();
OSL_ENSURE( pSh, "Shell not found" );