summaryrefslogtreecommitdiff
path: root/chart2/source/inc/defines.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/inc/defines.hxx')
-rw-r--r--chart2/source/inc/defines.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/chart2/source/inc/defines.hxx b/chart2/source/inc/defines.hxx
index 135afe44bbef..1eb464bc203a 100644
--- a/chart2/source/inc/defines.hxx
+++ b/chart2/source/inc/defines.hxx
@@ -17,11 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CHART2_SOURCE_INC_DEFINES_HXX
-#define INCLUDED_CHART2_SOURCE_INC_DEFINES_HXX
+#pragma once
-#define FIXED_SIZE_FOR_3D_CHART_VOLUME 10000.0
-
-#endif
+constexpr double FIXED_SIZE_FOR_3D_CHART_VOLUME = 10000.0;
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */