[Libreoffice-commits] core.git: sc/source
Henry Castro
hcastro at collabora.com
Thu Jun 4 18:48:00 PDT 2015
sc/source/ui/view/viewdata.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 856233d2ef20ba0f4118edd475308bd59442068c
Author: Henry Castro <hcastro at collabora.com>
Date: Thu Jun 4 21:37:55 2015 -0400
sc tiled editing: Editview register LOKit callback
Change-Id: I5ad07f0f3defacaac0f5dac724e9867bbc011dd6
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 22d46dc..8795afe 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)
More information about the Libreoffice-commits
mailing list