summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/view.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-02-13 11:35:13 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-02-13 12:13:56 +0000
commitc138a8aec8dccb97948a7d7993e6869da4079b32 (patch)
tree51efecacb1aad23c2a965fda20d1ac319501386f /sw/source/ui/uiview/view.cxx
parent496222d64d36b69f95b790a8cdd47074b2410add (diff)
asynchronous word-count.
Diffstat (limited to 'sw/source/ui/uiview/view.cxx')
-rw-r--r--sw/source/ui/uiview/view.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx
index 1ad946c0863b..26a135da34bd 100644
--- a/sw/source/ui/uiview/view.cxx
+++ b/sw/source/ui/uiview/view.cxx
@@ -1055,6 +1055,7 @@ SwView::~SwView()
bInDtor = sal_True;
pEditWin->Hide(); // damit kein Paint Aerger machen kann!
// An der SwDocShell den Pointer auf die View ruecksetzen
+
SwDocShell* pDocSh = GetDocShell();
if( pDocSh && pDocSh->GetView() == this )
pDocSh->SetView( 0 );