summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwsh2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwsh2.cxx')
-rw-r--r--sc/source/ui/view/tabvwsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwsh2.cxx b/sc/source/ui/view/tabvwsh2.cxx
index 652482ec5d6f..af00b3bdb76d 100644
--- a/sc/source/ui/view/tabvwsh2.cxx
+++ b/sc/source/ui/view/tabvwsh2.cxx
@@ -57,7 +57,7 @@ void ScTabViewShell::WindowChanged()
ScDrawView* pDrView = GetScDrawView();
if (pDrView)
- pDrView->SetActualWin(pWin);
+ pDrView->SetActualWin(pWin->GetOutDev());
FuPoor* pFunc = GetDrawFuncPtr();
if (pFunc)