diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-18 08:53:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-18 13:32:40 +0200 |
commit | 42595315324e2b06ec661d1069573c9ec99650a4 (patch) | |
tree | 32519bbdc9fc0b70b3798c66fda37714eb91e447 /sc/source/ui/unoobj/docuno.cxx | |
parent | 94c264859f621e8e7c793fad2beb6528659433bf (diff) |
convert DelCellCmd to scoped enum
Change-Id: I4766fc874026f218b33e66944b98562d1ec614d3
Reviewed-on: https://gerrit.libreoffice.org/53088
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/docuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index c0fcc48264e1..59f699d3a6ff 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -3828,7 +3828,7 @@ void SAL_CALL ScTableColumnsObj::removeByIndex( sal_Int32 nIndex, sal_Int32 nCou { ScRange aRange( static_cast<SCCOL>(nStartCol+nIndex), 0, nTab, static_cast<SCCOL>(nStartCol+nIndex+nCount-1), MAXROW, nTab ); - bDone = pDocShell->GetDocFunc().DeleteCells( aRange, nullptr, DEL_DELCOLS, true ); + bDone = pDocShell->GetDocFunc().DeleteCells( aRange, nullptr, DelCellCmd::Cols, true ); } if (!bDone) throw uno::RuntimeException(); // no other exceptions specified @@ -4067,7 +4067,7 @@ void SAL_CALL ScTableRowsObj::removeByIndex( sal_Int32 nIndex, sal_Int32 nCount { ScRange aRange( 0, static_cast<SCROW>(nStartRow+nIndex), nTab, MAXCOL, static_cast<SCROW>(nStartRow+nIndex+nCount-1), nTab ); - bDone = pDocShell->GetDocFunc().DeleteCells( aRange, nullptr, DEL_DELROWS, true ); + bDone = pDocShell->GetDocFunc().DeleteCells( aRange, nullptr, DelCellCmd::Rows, true ); } if (!bDone) throw uno::RuntimeException(); // no other exceptions specified |