diff options
-rw-r--r-- | editeng/source/editeng/editview.cxx | 5 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 6 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 2 | ||||
-rw-r--r-- | editeng/source/outliner/outlvw.cxx | 5 | ||||
-rw-r--r-- | include/editeng/editview.hxx | 1 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/app/inputhdl.cxx | 9 | ||||
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 1 | ||||
-rw-r--r-- | svx/source/svdraw/svdedxv.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/docvw/SidebarWin.cxx | 1 |
11 files changed, 0 insertions, 34 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index f936d4e7a0b1..14c2b24cbc65 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -583,11 +583,6 @@ Color EditView::GetBackgroundColor() const return pImpEditView->GetBackgroundColor(); } -void EditView::setTiledRendering(bool bTiledRendering) -{ - pImpEditView->setTiledRendering(bTiledRendering); -} - void EditView::registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pLibreOfficeKitData, OutlinerSearchable *pSearchable) { pImpEditView->registerLibreOfficeKitCallback(pCallback, pLibreOfficeKitData, pSearchable); diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 0fc72ff5372c..36bd52685215 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -79,7 +79,6 @@ ImpEditView::ImpEditView( EditView* pView, EditEngine* pEng, vcl::Window* pWindo pOutWin = pWindow; pPointer = nullptr; pBackgroundColor = nullptr; - mbTiledRendering = false; mpLibreOfficeKitCallback = nullptr; mpLibreOfficeKitData = nullptr; mpLibreOfficeKitSearchable = nullptr; @@ -120,11 +119,6 @@ void ImpEditView::SetBackgroundColor( const Color& rColor ) pBackgroundColor = new Color( rColor ); } -void ImpEditView::setTiledRendering(bool bTiledRendering) -{ - mbTiledRendering = bTiledRendering; -} - void ImpEditView::registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pData, OutlinerSearchable* pSearchable) { mpLibreOfficeKitCallback = pCallback; diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 57e03f7d2a34..1962b7e2427c 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -222,7 +222,6 @@ private: EditView* pEditView; vcl::Cursor* pCursor; Color* pBackgroundColor; - bool mbTiledRendering; LibreOfficeKitCallback mpLibreOfficeKitCallback; void* mpLibreOfficeKitData; OutlinerSearchable* mpLibreOfficeKitSearchable; @@ -370,7 +369,6 @@ public: const Color& GetBackgroundColor() const { return ( pBackgroundColor ? *pBackgroundColor : pOutWin->GetBackground().GetColor() ); } - void setTiledRendering(bool bTiledRendering); /// @see vcl::ITiledRenderable::registerCallback(). void registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pLibreOfficeKitData, OutlinerSearchable* pSearchable); /// Invokes the registered callback, if there are any. diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index d624eb6fa689..6240c0f2d1b2 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -1431,11 +1431,6 @@ void OutlinerView::SetBackgroundColor( const Color& rColor ) pEditView->SetBackgroundColor( rColor ); } -void OutlinerView::setTiledRendering(bool bTiledRendering) -{ - pEditView->setTiledRendering(bTiledRendering); -} - void OutlinerView::registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pLibreOfficeKitData, OutlinerSearchable* pSearchable) { pEditView->registerLibreOfficeKitCallback(pCallback, pLibreOfficeKitData, pSearchable); diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index 21343f50a63b..9c1c541386e3 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -182,7 +182,6 @@ public: void SetBackgroundColor( const Color& rColor ); Color GetBackgroundColor() const; - void setTiledRendering(bool bTiledRendering); /// @see vcl::ITiledRenderable::registerCallback(). void registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pLibreOfficeKitData, OutlinerSearchable *pSearchable); diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 6ea221e6edd8..8e428f2c9979 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -273,8 +273,6 @@ public: void SetBackgroundColor( const Color& rColor ); Color GetBackgroundColor(); - /// Set if we are doing tiled rendering. - void setTiledRendering(bool bTiledRendering); /// @see vcl::ITiledRenderable::registerCallback(). void registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pLibreOfficeKitData, OutlinerSearchable* pSearchable); 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); } } diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 2cd953318731..f2c0fcaadef2 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -461,7 +461,6 @@ OutlinerView* SdrObjEditView::ImpMakeOutlinerView(vcl::Window* pWin, bool /*bNoP } pOutlView->SetControlWord(nStat); pOutlView->SetBackgroundColor( aBackground ); - pOutlView->setTiledRendering(comphelper::LibreOfficeKit::isActive()); pOutlView->registerLibreOfficeKitCallback(GetModel()->getLibreOfficeKitCallback(), GetModel()->getLibreOfficeKitData(), GetModel()); if (pText!=nullptr) { diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index 86be22085bfb..d968eb22bc17 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -889,7 +889,6 @@ void SwPostItMgr::registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallbac if (!pPostIt) continue; - pPostIt->GetOutlinerView()->setTiledRendering(comphelper::LibreOfficeKit::isActive()); pPostIt->GetOutlinerView()->registerLibreOfficeKitCallback(pCallback, pData, pSearchable); } } diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx index 57374acb05aa..97d9767ad86d 100644 --- a/sw/source/uibase/docvw/SidebarWin.cxx +++ b/sw/source/uibase/docvw/SidebarWin.cxx @@ -618,7 +618,6 @@ void SwSidebarWin::InitControls() LibreOfficeKitCallback pCallback = nullptr; void* pData = nullptr; pDrawModel->getLibreOfficeKitCallback(pCallback, pData); - mpOutlinerView->setTiledRendering(comphelper::LibreOfficeKit::isActive()); mpOutlinerView->registerLibreOfficeKitCallback(pCallback, pData, pDrawModel); } |