summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/unoobj/docuno.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index e1efd7ca485e..5cdac44a46ab 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -505,13 +505,7 @@ void ScModelObj::paintTile( VirtualDevice& rDevice,
{
// There seems to be no clear way of getting the grid window for this
// particular document, hence we need to hope we get the right window.
- // FIXME: "hope"? Are you kidding me?
ScViewData* pViewData = ScDocShell::GetViewData();
-
- // FIXME
- if (!pViewData)
- return;
-
ScGridWindow* pGridWindow = pViewData->GetActiveWin();
// update the size of the area we are painting