summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ControllerCommandDispatch.cxx8
-rw-r--r--chart2/source/view/inc/VSeriesPlotter.hxx2
2 files changed, 5 insertions, 5 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).
diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx
index 6a087de5ecbc..a4b0fb68e0ab 100644
--- a/chart2/source/view/inc/VSeriesPlotter.hxx
+++ b/chart2/source/view/inc/VSeriesPlotter.hxx
@@ -51,7 +51,7 @@ public:
{
m_aNumberFormatMap[tFullAxisIndex(nDimIndex,nAxisIndex)] = nFormatKey;
}
- sal_Int32 hasFormat( sal_Int32 nDimIndex, sal_Int32 nAxisIndex ) const
+ bool hasFormat( sal_Int32 nDimIndex, sal_Int32 nAxisIndex ) const
{
return (m_aNumberFormatMap.find(tFullAxisIndex(nDimIndex,nAxisIndex)) !=m_aNumberFormatMap.end());
}