[Libreoffice-commits] core.git: include/svx

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Sat Jun 19 09:12:28 UTC 2021


 include/svx/svdotext.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 39a3c0bd8007917d42a58d9337b4d06590bcf306
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Tue Jun 15 23:01:48 2021 +0900
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Sat Jun 19 11:11:39 2021 +0200

    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 at gmail.com>

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


More information about the Libreoffice-commits mailing list