summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2022-04-19 09:12:06 +0900
committerTomaž Vajngerl <quikee@gmail.com>2022-04-19 07:49:57 +0200
commitd3c22b1d4754e95a0fbb801a73295e5a4353f38f (patch)
tree17ec804cee40f2d508a04d13af4d8f1fa2c3d378 /chart2
parent216493f32236f0086f4c5b527deb18b020b0ed1c (diff)
chart2: change define to constant
Change-Id: Id545105cb48fdd0c28a67e6017570658915f93b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133163 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/inc/defines.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/inc/defines.hxx b/chart2/source/inc/defines.hxx
index bf003b6c6520..1eb464bc203a 100644
--- a/chart2/source/inc/defines.hxx
+++ b/chart2/source/inc/defines.hxx
@@ -19,6 +19,6 @@
#pragma once
-#define FIXED_SIZE_FOR_3D_CHART_VOLUME 10000.0
+constexpr double FIXED_SIZE_FOR_3D_CHART_VOLUME = 10000.0;
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */