summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-06-15 23:01:48 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-06-19 11:11:39 +0200
commit39a3c0bd8007917d42a58d9337b4d06590bcf306 (patch)
tree6f82909b8ba675df10000392519dc9a6484e8cd9 /include/svx
parentffe4538fe4e59e31994511b1117dcd5967f2e2b0 (diff)
svx: use constexpr instead of a define for a constant
Change-Id: Ie2fdd0dbe2c6d8e5c9ff406af5d2be20383fe62b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117477 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdotext.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx
index b0fe22fe1b22..d5c981d632db 100644
--- a/include/svx/svdotext.hxx
+++ b/include/svx/svdotext.hxx
@@ -84,7 +84,7 @@ namespace sdr::table {
// Defines
-#define SDRUSERDATA_OBJTEXTLINK (1)
+constexpr const sal_uInt16 SDRUSERDATA_OBJTEXTLINK = 1;
// helper class SdrTextObjGeoData