diff options
Diffstat (limited to 'sc/source/ui/miscdlgs/inscodlg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/inscodlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/miscdlgs/inscodlg.cxx b/sc/source/ui/miscdlgs/inscodlg.cxx index 5a29e9c7a528..190d108e9e63 100644 --- a/sc/source/ui/miscdlgs/inscodlg.cxx +++ b/sc/source/ui/miscdlgs/inscodlg.cxx @@ -287,10 +287,10 @@ void ScInsertContentsDlg::SetChangeTrack( bool bSet ) } } -void ScInsertContentsDlg::SetCellShiftDisabled( int nDisable ) +void ScInsertContentsDlg::SetCellShiftDisabled( CellShiftDisabledFlags nDisable ) { - bool bDown = ((nDisable & SC_CELL_SHIFT_DISABLE_DOWN) != 0); - bool bRight = ((nDisable & SC_CELL_SHIFT_DISABLE_RIGHT) != 0); + bool bDown(nDisable & CellShiftDisabledFlags::Down); + bool bRight(nDisable & CellShiftDisabledFlags::Right); if ( bDown != bMoveDownDisabled || bRight != bMoveRightDisabled ) { bMoveDownDisabled = bDown; |