diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-19 08:05:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-20 09:52:08 +0200 |
commit | 662700703bebad38ca7ad74ca4eb040fe8b5b676 (patch) | |
tree | 8e693319a485837c4b621244ced161b19c193302 /sc/source/ui/dbgui/csvgrid.cxx | |
parent | dcefc97c8bd5be9ba229098c32d2a5c73d084163 (diff) |
convert GRID constants to scoped enum
Change-Id: I73ae63bc5f41f38d1a4e396152808b22e88681d8
Diffstat (limited to 'sc/source/ui/dbgui/csvgrid.cxx')
-rw-r--r-- | sc/source/ui/dbgui/csvgrid.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/csvgrid.cxx b/sc/source/ui/dbgui/csvgrid.cxx index 09a6f2ee539a..a5c31e4f6a7f 100644 --- a/sc/source/ui/dbgui/csvgrid.cxx +++ b/sc/source/ui/dbgui/csvgrid.cxx @@ -1143,7 +1143,7 @@ void ScCsvGrid::ImplDrawColumnBackgr( sal_uInt32 nColIndex ) Rectangle aRect( nX1, nHdrHt, nX2, nY2 ); mpBackgrDev->DrawRect( aRect ); mpBackgrDev->SetLineColor( maGridColor ); - mpBackgrDev->DrawGrid( aRect, Size( 1, GetLineHeight() ), GRID_HORZLINES ); + mpBackgrDev->DrawGrid( aRect, Size( 1, GetLineHeight() ), DrawGridFlags::HorzLines ); mpBackgrDev->DrawLine( Point( nX2, nHdrHt ), Point( nX2, nY2 ) ); ImplDrawFirstLineSep( true ); @@ -1207,7 +1207,7 @@ void ScCsvGrid::ImplDrawRowHeaders() else mpBackgrDev->DrawLine( aRect.TopRight(), aRect.BottomRight() ); aRect.Top() = GetHdrHeight(); - mpBackgrDev->DrawGrid( aRect, Size( 1, GetLineHeight() ), GRID_HORZLINES ); + mpBackgrDev->DrawGrid( aRect, Size( 1, GetLineHeight() ), DrawGridFlags::HorzLines ); } void ScCsvGrid::ImplDrawBackgrDev() |