diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-26 09:41:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-26 09:41:44 +0200 |
commit | 93160bcb2dce54bbccb5935cd0a71b52ad5e5461 (patch) | |
tree | 3eca677a42ba9d46e53f158061ecf81427517718 /sc/source/ui/unoobj/nameuno.cxx | |
parent | c506954ce9a466fbc5204b3b5e2190ed907dfffe (diff) |
convert PAINT constants to typed_flags
Change-Id: Ie0a02c87ca225ee7a8b8e76a2498836836e79c82
Diffstat (limited to 'sc/source/ui/unoobj/nameuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/nameuno.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/nameuno.cxx b/sc/source/ui/unoobj/nameuno.cxx index ba00cd1f41aa..ffc5512a3f06 100644 --- a/sc/source/ui/unoobj/nameuno.cxx +++ b/sc/source/ui/unoobj/nameuno.cxx @@ -991,7 +991,7 @@ void ScLabelRangeObj::Modify_Impl( const ScRange* pLabel, const ScRange* pData ) rDoc.GetRowNameRangesRef() = xNewList; rDoc.CompileColRowNameFormula(); - pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID ); + pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PaintPartFlags::Grid ); pDocShell->SetDocumentModified(); //! Undo ?!?! (here and from dialog) @@ -1113,7 +1113,7 @@ void SAL_CALL ScLabelRangesObj::addNew( const table::CellRangeAddress& aLabelAre rDoc.GetRowNameRangesRef() = xNewList; rDoc.CompileColRowNameFormula(); - pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID ); + pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PaintPartFlags::Grid ); pDocShell->SetDocumentModified(); //! Undo ?!?! (here and from dialog) @@ -1147,7 +1147,7 @@ void SAL_CALL ScLabelRangesObj::removeByIndex( sal_Int32 nIndex ) rDoc.GetRowNameRangesRef() = xNewList; rDoc.CompileColRowNameFormula(); - pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID ); + pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PaintPartFlags::Grid ); pDocShell->SetDocumentModified(); bDone = true; |