diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-19 14:38:53 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-23 10:10:28 +0100 |
commit | 40e3569a08d89fc6cf91cfc3a88d1049f25533c9 (patch) | |
tree | f3944bb088e7ff6b695964216c80f4f5a1b20ac0 /svx/source | |
parent | 8632db588d405f10506925ffd2db369691e5bc71 (diff) |
ImpEditEngine::UpdateViews: need to go via Invalidate() for tiled rendering
This makes typed characters appear as you type it (and not only after
the editing of the shape text is finished) in Impress.
Change-Id: Id47efe8223ddfdbad36f436366c9c8c8e0cb45f4
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdedxv.cxx | 1 | ||||
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 9c47ca8bc391..b7331dae10da 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -446,6 +446,7 @@ OutlinerView* SdrObjEditView::ImpMakeOutlinerView(vcl::Window* pWin, bool /*bNoP } pOutlView->SetControlWord(nStat); pOutlView->SetBackgroundColor( aBackground ); + pOutlView->setTiledRendering(GetModel()->isTiledRendering()); if (pText!=NULL) { pOutlView->SetAnchorMode((EVAnchorMode)(pText->GetOutlinerViewAnchorMode())); diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index 64a5304cd04d..c444fa582b51 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -124,6 +124,7 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbe pDrawOutliner=NULL; pHitTestOutliner=NULL; pRefOutDev=NULL; + mbTiledRendering = false; nProgressAkt=0; nProgressMax=0; nProgressOfs=0; @@ -795,6 +796,16 @@ void SdrModel::SetRefDevice(OutputDevice* pDev) RefDeviceChanged(); } +void SdrModel::setTiledRendering(bool bTiledRendering) +{ + mbTiledRendering = bTiledRendering; +} + +bool SdrModel::isTiledRendering() const +{ + return mbTiledRendering; +} + void SdrModel::ImpReformatAllTextObjects() { if( isLocked() ) |