diff options
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/docvw/AnnotationWin2.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/lingu/sdrhhcwrap.cxx | 10 | ||||
-rw-r--r-- | sw/source/uibase/shells/annotsh.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/shells/drwtxtsh.cxx | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/uibase/docvw/AnnotationWin2.cxx b/sw/source/uibase/docvw/AnnotationWin2.cxx index 19f663f9895c..aeb18ab29fe8 100644 --- a/sw/source/uibase/docvw/AnnotationWin2.cxx +++ b/sw/source/uibase/docvw/AnnotationWin2.cxx @@ -316,7 +316,7 @@ void SwAnnotationWin::InitControls() SwDocShell* aShell = mrView.GetDocShell(); mpOutliner.reset(new Outliner(&aShell->GetPool(),OutlinerMode::TextObject)); aShell->GetDoc()->SetCalcFieldValueHdl( mpOutliner.get() ); - mpOutliner->SetUpdateMode( true ); + mpOutliner->SetUpdateLayout( true ); mpOutlinerView.reset(new OutlinerView(mpOutliner.get(), nullptr)); mpOutliner->InsertView(mpOutlinerView.get()); diff --git a/sw/source/uibase/lingu/sdrhhcwrap.cxx b/sw/source/uibase/lingu/sdrhhcwrap.cxx index 939890805425..8106f0b32191 100644 --- a/sw/source/uibase/lingu/sdrhhcwrap.cxx +++ b/sw/source/uibase/lingu/sdrhhcwrap.cxx @@ -81,7 +81,7 @@ SdrHHCWrapper::~SdrHHCWrapper() SdrView *pSdrView = pView->GetWrtShell().GetDrawView(); OSL_ENSURE( pSdrView, "SdrHHCWrapper without DrawView?" ); pSdrView->SdrEndTextEdit( true ); - SetUpdateMode(false); + SetUpdateLayout(false); pOutlView->SetOutputArea( tools::Rectangle( Point(), Size(1, 1) ) ); } RemoveView( pOutlView.get() ); @@ -102,7 +102,7 @@ bool SdrHHCWrapper::ConvertNextDocument() SdrView *pSdrView = pView->GetWrtShell().GetDrawView(); OSL_ENSURE( pSdrView, "SdrHHCWrapper without DrawView?" ); pSdrView->SdrEndTextEdit( true ); - SetUpdateMode(false); + SetUpdateLayout(false); pOutlView->SetOutputArea( tools::Rectangle( Point(), Size(1, 1) ) ); SetPaperSize( Size(1, 1) ); Clear(); @@ -131,7 +131,7 @@ bool SdrHHCWrapper::ConvertNextDocument() //!! work correctly because the document may not be properly //!! formatted when some information is accessed, and thus //!! incorrect results get returned. - SetUpdateMode(true); + SetUpdateLayout(true); if (HasConvertibleTextPortion( nSourceLang )) { SdrView *pSdrView = pView->GetWrtShell().GetDrawView(); @@ -141,13 +141,13 @@ bool SdrHHCWrapper::ConvertNextDocument() bNextDoc = true; pOutlView->SetOutputArea( tools::Rectangle( Point(), Size(1,1))); SetPaperSize( pTextObj->GetLogicRect().GetSize() ); - SetUpdateMode(true); + SetUpdateLayout(true); pView->GetWrtShell().MakeVisible(SwRect(pTextObj->GetLogicRect())); pSdrView->SdrBeginTextEdit(pTextObj, pPV, &pView->GetEditWin(), false, this, pOutlView.get(), true, true); } else - SetUpdateMode(false); + SetUpdateLayout(false); } if ( !bNextDoc ) diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index 2ee297ae4095..ad089f373e42 100644 --- a/sw/source/uibase/shells/annotsh.cxx +++ b/sw/source/uibase/shells/annotsh.cxx @@ -1769,7 +1769,7 @@ void SwAnnotationShell::InsertSymbol(SfxRequest& rReq) // do not flicker pOLV->HideCursor(); Outliner * pOutliner = pOLV->GetOutliner(); - pOutliner->SetUpdateMode(false); + pOutliner->SetUpdateLayout(false); SfxItemSet aOldSet( pOLV->GetAttribs() ); SfxItemSet aFontSet( @@ -1813,7 +1813,7 @@ void SwAnnotationShell::InsertSymbol(SfxRequest& rReq) pOLV->SetAttribs( aFontSet ); // From now on show it again - pOutliner->SetUpdateMode(true); + pOutliner->SetUpdateLayout(true); pOLV->ShowCursor(); rReq.AppendItem( SfxStringItem( GetPool().GetWhich(SID_CHARMAP), sSym ) ); diff --git a/sw/source/uibase/shells/drwtxtsh.cxx b/sw/source/uibase/shells/drwtxtsh.cxx index d7cdea7018d7..2cb86428b65b 100644 --- a/sw/source/uibase/shells/drwtxtsh.cxx +++ b/sw/source/uibase/shells/drwtxtsh.cxx @@ -732,7 +732,7 @@ void SwDrawTextShell::InsertSymbol(SfxRequest& rReq) // do not flicker pOLV->HideCursor(); SdrOutliner * pOutliner = pSdrView->GetTextEditOutliner(); - pOutliner->SetUpdateMode(false); + pOutliner->SetUpdateLayout(false); SfxItemSet aOldSet( pOLV->GetAttribs() ); SfxItemSet aFontSet( @@ -776,7 +776,7 @@ void SwDrawTextShell::InsertSymbol(SfxRequest& rReq) pOLV->SetAttribs( aFontSet ); // From now on show again - pOutliner->SetUpdateMode(true); + pOutliner->SetUpdateLayout(true); pOLV->ShowCursor(); rReq.AppendItem( SfxStringItem( GetPool().GetWhich(SID_CHARMAP), sSym ) ); |