summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-14 18:06:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-14 18:11:10 +0100
commit3bf277a044ded4e117020b42677bf45a307ffb76 (patch)
tree8c0e17da43d781d4380fdddb73668b99d811d56d /chart2/source/controller/main
parent0d29aab156fb2eaf780fd152f0923b4850684846 (diff)
bool improvements
Change-Id: Ia30628e093a885165b2d8a7b1a999c0dc7ee65cd
Diffstat (limited to 'chart2/source/controller/main')
-rw-r--r--chart2/source/controller/main/ControllerCommandDispatch.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/main/ControllerCommandDispatch.cxx b/chart2/source/controller/main/ControllerCommandDispatch.cxx
index 85df6635cb1a..d88a263af8fb 100644
--- a/chart2/source/controller/main/ControllerCommandDispatch.cxx
+++ b/chart2/source/controller/main/ControllerCommandDispatch.cxx
@@ -78,10 +78,10 @@ namespace impl
{
/// Constants for moving the series.
-enum EnumForward{
- MOVE_SERIES_FORWARD = true,
- MOVE_SERIES_BACKWARD = false
-};
+namespace {
+ static bool const MOVE_SERIES_FORWARD = true;
+ static bool const MOVE_SERIES_BACKWARD = false;
+}
/** Represents the current state of the controller (needed for issue 63017).