summaryrefslogtreecommitdiffstats
path: root/include/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-13 12:54:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-17 08:09:50 +0100
commit7f055f373bf2a19f6f2c73914eaa4f3c6fa57f98 (patch)
treeee2bc19bc3f580ee48f12fbca2f55cefa48e0720 /include/basic
parentTSCP: add category from doc. properties if not found in header (diff)
downloadcore-7f055f373bf2a19f6f2c73914eaa4f3c6fa57f98.tar.gz
core-7f055f373bf2a19f6f2c73914eaa4f3c6fa57f98.zip
inline SbxMAXSALUINT64 and friends
which don't offer any value Change-Id: Ie8082abc80ffd0e7719f4fa9a0d5f93203628ee5 Reviewed-on: https://gerrit.libreoffice.org/44798 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basic')
-rw-r--r--include/basic/sbxdef.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/basic/sbxdef.hxx b/include/basic/sbxdef.hxx
index f015b963c621..74ae183f50ed 100644
--- a/include/basic/sbxdef.hxx
+++ b/include/basic/sbxdef.hxx
@@ -176,7 +176,7 @@ namespace o3tl
// of the implementation. Only type double is greedy and takes
// what it gets.
-#define SbxMAXCHAR u'\xFFFF'
+#define SbxMAXCHAR (u'\xFFFF')
#define SbxMINCHAR (0)
#define SbxMAXBYTE ( 255)
#define SbxMAXINT ( 32767)
@@ -186,10 +186,6 @@ namespace o3tl
#define SbxMINLNG ((sal_Int32)(-2147483647-1))
#define SbxMAXULNG ((sal_uInt32) 0xffffffff)
-#define SbxMAXSALUINT64 SAL_MAX_UINT64
-#define SbxMAXSALINT64 SAL_MAX_INT64
-#define SbxMINSALINT64 SAL_MIN_INT64
-
// Currency stored as SbxSALINT64 == sal_Int64
// value range limits are ~(2^63 - 1)/10000
// fixed precision has 4 digits right of decimal pt