summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2015-06-04 21:37:55 -0400
committerJan Holesovsky <kendy@collabora.com>2015-06-05 05:52:14 +0200
commit1b3d17ba7cd45dc0431b9b1809d908a7a066d9a1 (patch)
tree9c8d20b38ead86057cae7d4bb61dee33ccbff731
parentd1ed5b06b2cc7f52b896d6cd4ce0b59e8ceea6b9 (diff)
sc tiled editing: Editview register LOKit callback
Change-Id: I5ad07f0f3defacaac0f5dac724e9867bbc011dd6
-rw-r--r--sc/source/ui/view/viewdata.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 22d46dcd7f05..8795afe9539a 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -928,6 +928,13 @@ void ScViewData::SetEditEngine( ScSplitPos eWhich,
else
{
pEditView[eWhich] = new EditView( pNewEngine, pWin );
+
+ if (pDoc->GetDrawLayer() && pDoc->GetDrawLayer()->isTiledRendering())
+ {
+ pEditView[eWhich]->registerLibreOfficeKitCallback(pDoc->GetDrawLayer()->getLibreOfficeKitCallback(),
+ pDoc->GetDrawLayer()->getLibreOfficeKitData());
+ pEditView[eWhich]->setTiledRendering(true);
+ }
}
// bei IdleFormat wird manchmal ein Cursor gemalt, wenn die View schon weg ist (23576)