diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/dbui/addresslistdialog.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/docvw/srcedtw.cxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/inc/srcedtw.hxx | 2 |
5 files changed, 6 insertions, 7 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 6b9ab9c5cd02..4c0c2b45946c 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -3321,7 +3321,7 @@ void SwRootFrm::Paint(SwRect const& rRect, SwPrintData const*const pPrintData) c aPageRectTemp._Intersection( pSh->VisArea() ); vcl::Region aPageRectRegion( aPageRectTemp.SVRect() ); aPageRectRegion.Exclude( aPaintRect.SVRect() ); - pSh->GetWin()->Invalidate( aPageRectRegion, INVALIDATE_CHILDREN ); + pSh->GetWin()->Invalidate( aPageRectRegion, InvalidateFlags::Children ); } // #i80793# diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 1873a3edfdfe..51266698935b 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -498,7 +498,7 @@ void SwViewShell::ImplUnlockPaint( bool bVirDev ) { Imp()->UnlockPaint(); GetWin()->EnablePaint( true ); - GetWin()->Invalidate( INVALIDATE_CHILDREN ); + GetWin()->Invalidate( InvalidateFlags::Children ); } pVout.disposeAndClear(); } @@ -506,7 +506,7 @@ void SwViewShell::ImplUnlockPaint( bool bVirDev ) { Imp()->UnlockPaint(); GetWin()->EnablePaint( true ); - GetWin()->Invalidate( INVALIDATE_CHILDREN ); + GetWin()->Invalidate( InvalidateFlags::Children ); } } else diff --git a/sw/source/ui/dbui/addresslistdialog.cxx b/sw/source/ui/dbui/addresslistdialog.cxx index 0ca561c54bf5..9f989d054776 100644 --- a/sw/source/ui/dbui/addresslistdialog.cxx +++ b/sw/source/ui/dbui/addresslistdialog.cxx @@ -494,7 +494,7 @@ IMPL_LINK(SwAddressListDialog, StaticListBoxSelectHdl_Impl, SvTreeListEntry*, pS { m_pListLB->SetEntryText(m_sConnecting, pSelect, ITEMID_TABLE - 1); // allow painting of the new entry - m_pListLB->Window::Invalidate(INVALIDATE_UPDATE); + m_pListLB->Window::Invalidate(InvalidateFlags::Update); for (int i = 0; i < 10; ++i) Application::Reschedule(); } diff --git a/sw/source/uibase/docvw/srcedtw.cxx b/sw/source/uibase/docvw/srcedtw.cxx index eb9dbf4b5259..839f6d59a241 100644 --- a/sw/source/uibase/docvw/srcedtw.cxx +++ b/sw/source/uibase/docvw/srcedtw.cxx @@ -754,11 +754,10 @@ void SwSrcEditWindow::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint ) } } -void SwSrcEditWindow::Invalidate(sal_uInt16 ) +void SwSrcEditWindow::Invalidate(InvalidateFlags ) { pOutWin->Invalidate(); Window::Invalidate(); - } void SwSrcEditWindow::Command( const CommandEvent& rCEvt ) diff --git a/sw/source/uibase/inc/srcedtw.hxx b/sw/source/uibase/inc/srcedtw.hxx index 88971bf01274..f52c4b4f5205 100644 --- a/sw/source/uibase/inc/srcedtw.hxx +++ b/sw/source/uibase/inc/srcedtw.hxx @@ -133,7 +133,7 @@ public: TextViewOutWin* GetOutWin() {return pOutWin;} - virtual void Invalidate( sal_uInt16 nFlags = 0 ) SAL_OVERRIDE; + virtual void Invalidate( InvalidateFlags nFlags = InvalidateFlags::NONE ) SAL_OVERRIDE; void ClearModifyFlag() { pTextEngine->SetModified(false); } |