diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-25 11:20:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-26 08:30:18 +0200 |
commit | bb7ce3137dbe12d67f393b95a437b18e3a63f8e7 (patch) | |
tree | 12d4b581ac21aaaa243d6d070b00a8695b624b92 /cui | |
parent | 3dc50a3b9afc6eec42fb9f657a4dfd236066892f (diff) |
convert INVALIDATE constants to scoped enum
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the
IDL docs for XWindowPeer
Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/cuihyperdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 2 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 2 | ||||
-rw-r--r-- | cui/source/options/connpooloptions.cxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx index 6c3c5498b667..0587f879f711 100644 --- a/cui/source/dialogs/cuihyperdlg.cxx +++ b/cui/source/dialogs/cuihyperdlg.cxx @@ -258,7 +258,7 @@ void SvxHpLinkDlg::Move() } if ( bDoInvalid ) - Invalidate(INVALIDATE_BACKGROUND); + Invalidate(InvalidateFlags::Transparent); } Window::Move(); diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 4ec04bef1cbd..2ec3dd4ee7ad 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -553,7 +553,7 @@ bool AbstractSvxHlinkDlgMarkWnd_Impl::IsVisible( ) const return (( vcl::Window* )pDlg)->IsVisible(); } -void AbstractSvxHlinkDlgMarkWnd_Impl::Invalidate( sal_uInt16 nFlags ) +void AbstractSvxHlinkDlgMarkWnd_Impl::Invalidate( InvalidateFlags nFlags ) { (( vcl::Window* )pDlg)->Invalidate(nFlags); } diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index b194d199b431..756b23ce8978 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -275,7 +275,7 @@ class AbstractSvxHlinkDlgMarkWnd_Impl : public AbstractSvxHlinkDlgMarkWnd DECL_ABSTDLG_BASE(AbstractSvxHlinkDlgMarkWnd_Impl,SvxHlinkDlgMarkWnd) virtual void Hide() SAL_OVERRIDE; virtual bool IsVisible() const SAL_OVERRIDE ; - virtual void Invalidate( sal_uInt16 nFlags = 0 ) SAL_OVERRIDE; + virtual void Invalidate( InvalidateFlags nFlags = InvalidateFlags::NONE ) SAL_OVERRIDE; virtual void SetSizePixel( const Size& rNewSize ) SAL_OVERRIDE; virtual Size GetSizePixel() const SAL_OVERRIDE; virtual bool MoveTo( Point aNewPos ) const SAL_OVERRIDE; diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx index a5093b3260a5..b36887c4d88f 100644 --- a/cui/source/options/connpooloptions.cxx +++ b/cui/source/options/connpooloptions.cxx @@ -169,7 +169,7 @@ namespace offapp void DriverListControl::updateCurrentRow() { - Window::Invalidate( GetRowRectPixel( GetCurRow() ), INVALIDATE_UPDATE ); + Window::Invalidate( GetRowRectPixel( GetCurRow() ), InvalidateFlags::Update ); } @@ -219,7 +219,7 @@ namespace offapp void DriverListControl::StateChanged( StateChangedType nStateChange ) { if (StateChangedType::Enable == nStateChange) - Window::Invalidate(INVALIDATE_UPDATE); + Window::Invalidate(InvalidateFlags::Update); EditBrowseBox::StateChanged( nStateChange ); } |