diff options
author | Andras Timar <andras.timar@collabora.com> | 2020-07-21 10:56:31 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-07-21 10:57:13 +0200 |
commit | 47f8af9ca69d0bc7b0f200df447440750ade9464 (patch) | |
tree | e19ff5363905268f1a6809c3a9f4cf80bbc6fd96 | |
parent | 102520f3f309b7632992a30997d630db1ad9e754 (diff) |
Revert "Avoid crash with multiple documents open in the iOS app"
This reverts commit 818a68cb259078fe2cc1ae1d82d3b854e49b24fe.
We decided not to have this "multiple docs" feature in stable cp-6.2
because it caused regressions that we could not fix quickly.
Change-Id: I526b094d255a40d7b9427237ffdd86e3923e64ca
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 6 |
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 |