diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-25 11:20:10 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-02-05 21:45:45 -0500 |
commit | 1dcef4d8b4a03565ab1f80c78314056fa52dce10 (patch) | |
tree | aac326d2875fa2f5c9b94a9342d674101e99d99a /sfx2 | |
parent | 1da75fe3f21653306a73ff83d12ee2550be5f96a (diff) |
convert INVALIDATE constants to scoped enum
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the
IDL docs for XWindowPeer
Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
(cherry picked from commit bb7ce3137dbe12d67f393b95a437b18e3a63f8e7)
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index aaeb38b07d4a..745ad6975215 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -969,7 +969,7 @@ void SfxTemplateManagerDlg::OnTemplateImport () } } - mpLocalView->Invalidate(INVALIDATE_NOERASE); + mpLocalView->Invalidate(InvalidateFlags::NoErase); } } } @@ -1527,7 +1527,7 @@ void SfxTemplateManagerDlg::remoteMoveTo(const sal_uInt16 nMenuId) } } - mpLocalView->Invalidate(INVALIDATE_NOERASE); + mpLocalView->Invalidate(InvalidateFlags::NoErase); if (!aTemplateList.isEmpty()) { diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index ae82afcd2015..1636159b97dc 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -285,7 +285,7 @@ void SidebarController::BroadcastPropertyChange() { DataChangedEvent aEvent (DataChangedEventType::USER); mpParentWindow->NotifyAllChildren(aEvent); - mpParentWindow->Invalidate(INVALIDATE_CHILDREN); + mpParentWindow->Invalidate(InvalidateFlags::Children); } void SidebarController::NotifyResize() |