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/StatisticsDialogs | |
parent | c506954ce9a466fbc5204b3b5e2190ed907dfffe (diff) |
convert PAINT constants to typed_flags
Change-Id: Ie0a02c87ca225ee7a8b8e76a2498836836e79c82
Diffstat (limited to 'sc/source/ui/StatisticsDialogs')
4 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx b/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx index eaf10faedca5..7fdad4b53a5e 100644 --- a/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx @@ -323,7 +323,7 @@ void ScRandomNumberGeneratorDialog::GenerateNumbers(RNG& randomGenerator, const pUndoManager->LeaveListAction(); - pDocShell->PostPaint( maInputRange, PAINT_GRID ); + pDocShell->PostPaint( maInputRange, PaintPartFlags::Grid ); } IMPL_LINK_NOARG_TYPED( ScRandomNumberGeneratorDialog, OkClicked, Button*, void ) diff --git a/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx b/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx index 417de9e6811f..035327d97f15 100644 --- a/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/SamplingDialog.cxx @@ -285,7 +285,7 @@ void ScSamplingDialog::PerformSampling() } pUndoManager->LeaveListAction(); - pDocShell->PostPaint(aModifiedRange, PAINT_GRID); + pDocShell->PostPaint(aModifiedRange, PaintPartFlags::Grid); } IMPL_LINK_NOARG_TYPED( ScSamplingDialog, OkClicked, Button*, void ) diff --git a/sc/source/ui/StatisticsDialogs/StatisticsInputOutputDialog.cxx b/sc/source/ui/StatisticsDialogs/StatisticsInputOutputDialog.cxx index 61a426af4d29..80dd45724fe3 100644 --- a/sc/source/ui/StatisticsDialogs/StatisticsInputOutputDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/StatisticsInputOutputDialog.cxx @@ -292,7 +292,7 @@ void ScStatisticsInputOutputDialog::CalculateInputAndWriteToOutput() ScRange aOutputRange = ApplyOutput(pDocShell); pUndoManager->LeaveListAction(); - pDocShell->PostPaint( aOutputRange, PAINT_GRID ); + pDocShell->PostPaint( aOutputRange, PaintPartFlags::Grid ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/StatisticsDialogs/StatisticsTwoVariableDialog.cxx b/sc/source/ui/StatisticsDialogs/StatisticsTwoVariableDialog.cxx index cc4334e1eae8..1277a8e29619 100644 --- a/sc/source/ui/StatisticsDialogs/StatisticsTwoVariableDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/StatisticsTwoVariableDialog.cxx @@ -331,7 +331,7 @@ void ScStatisticsTwoVariableDialog::CalculateInputAndWriteToOutput() ScRange aOutputRange = ApplyOutput(pDocShell); pUndoManager->LeaveListAction(); - pDocShell->PostPaint( aOutputRange, PAINT_GRID ); + pDocShell->PostPaint( aOutputRange, PaintPartFlags::Grid ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |