summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-01-22 09:14:25 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-01-22 09:15:21 +0100
commitfb7edcd806aad98ad61e60b4165771ca3ae13ef3 (patch)
treecec832e024f69595a20dcd1e41611a913b44d094 /sc
parent49a829bf9d97ddda145b215a5928dd822efa8518 (diff)
editeng: ImpEditView::mbTiledRendering is never read
Change-Id: Ie8e33d075f0cedbb9f7148717c4318f4494ed419
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputhdl.cxx9
-rw-r--r--sc/source/ui/view/viewdata.cxx1
2 files changed, 0 insertions, 10 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 609fcb368a43..98783dcbfd7d 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -731,14 +731,6 @@ void ScInputHandler::ImplCreateEditEngine()
pEngine->SetControlWord( pEngine->GetControlWord() | EEControlBits::AUTOCORRECT );
pEngine->SetModifyHdl( LINK( this, ScInputHandler, ModifyHdl ) );
}
-
- // set the EditEngine so that it invalidates the view instead of direct
- // paint
- if (pActiveViewSh)
- {
- if (EditView* pEditView = pEngine->GetActiveView())
- pEditView->setTiledRendering(comphelper::LibreOfficeKit::isActive());
- }
}
void ScInputHandler::UpdateAutoCorrFlag()
@@ -1890,7 +1882,6 @@ void ScInputHandler::UpdateActiveView()
{
ScDrawLayer *pDrawLayer = pDocShell->GetDocument().GetDrawLayer();
pTableView->registerLibreOfficeKitCallback(pDrawLayer->getLibreOfficeKitCallback(), pDrawLayer->getLibreOfficeKitData(), pDrawLayer);
- pTableView->setTiledRendering(true);
}
}
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index f5a8384a6720..35ea8e0bee63 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -948,7 +948,6 @@ void ScViewData::SetEditEngine( ScSplitPos eWhich,
pEditView[eWhich]->registerLibreOfficeKitCallback(pDoc->GetDrawLayer()->getLibreOfficeKitCallback(),
pDoc->GetDrawLayer()->getLibreOfficeKitData(),
pDoc->GetDrawLayer());
- pEditView[eWhich]->setTiledRendering(true);
}
}