From bb7ce3137dbe12d67f393b95a437b18e3a63f8e7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 25 May 2015 11:20:10 +0200 Subject: convert INVALIDATE constants to scoped enum fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d --- sfx2/source/doc/templatedlg.cxx | 4 ++-- sfx2/source/sidebar/SidebarController.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index d86ffc0b09fe..8885a5d7267d 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 4115e884e5c5..81d37c69bf54 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -284,7 +284,7 @@ void SidebarController::BroadcastPropertyChange() { DataChangedEvent aEvent (DataChangedEventType::USER); mpParentWindow->NotifyAllChildren(aEvent); - mpParentWindow->Invalidate(INVALIDATE_CHILDREN); + mpParentWindow->Invalidate(InvalidateFlags::Children); } void SidebarController::NotifyResize() -- cgit