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 /dbaccess/source/ui/relationdesign | |
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 'dbaccess/source/ui/relationdesign')
-rw-r--r-- | dbaccess/source/ui/relationdesign/RelationController.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/relationdesign/RelationTableView.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx index 6a88ef2f5417..fc9f0df063e7 100644 --- a/dbaccess/source/ui/relationdesign/RelationController.cxx +++ b/dbaccess/source/ui/relationdesign/RelationController.cxx @@ -474,7 +474,7 @@ IMPL_LINK_NOARG( ORelationController, OnThreadFinished ) try { getView()->initialize(); // show the windows and fill with our information - getView()->Invalidate(INVALIDATE_NOERASE); + getView()->Invalidate(InvalidateFlags::NoErase); ClearUndoManager(); setModified(sal_False); // and we are not modified yet @@ -575,7 +575,7 @@ void ORelationController::reset() if(pView) { pView->initialize(); - pView->Invalidate(INVALIDATE_NOERASE); + pView->Invalidate(InvalidateFlags::NoErase); } } diff --git a/dbaccess/source/ui/relationdesign/RelationTableView.cxx b/dbaccess/source/ui/relationdesign/RelationTableView.cxx index a0c3c2553863..fd345a0ebc89 100644 --- a/dbaccess/source/ui/relationdesign/RelationTableView.cxx +++ b/dbaccess/source/ui/relationdesign/RelationTableView.cxx @@ -244,7 +244,7 @@ void ORelationTableView::ConnDoubleClicked( OTableConnection* pConnection ) } - Invalidate(INVALIDATE_NOCHILDREN); + Invalidate(InvalidateFlags::NoChildren); } void ORelationTableView::AddNewRelation() |