summaryrefslogtreecommitdiff
path: root/include/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:29:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:29:14 +0100
commit6070aaa47d6cede11f8cc0b54ed726fc45cb4a74 (patch)
treefe9c64b200eb663fd2fd82cb7d66d17ea199b53e /include/basic
parent9bd84cfb52eac91ee4bd1376f1a4b053afc24ab5 (diff)
More loplugin:cstylecast: basic
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I20b38196ee1b6a34384dc46d9de1b6e1b44947ae
Diffstat (limited to 'include/basic')
-rw-r--r--include/basic/sbxdef.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/basic/sbxdef.hxx b/include/basic/sbxdef.hxx
index 74ae183f50ed..93cad7008f6f 100644
--- a/include/basic/sbxdef.hxx
+++ b/include/basic/sbxdef.hxx
@@ -181,10 +181,10 @@ namespace o3tl
#define SbxMAXBYTE ( 255)
#define SbxMAXINT ( 32767)
#define SbxMININT (-32768)
-#define SbxMAXUINT ((sal_uInt16) 65535)
+#define SbxMAXUINT (sal_uInt16(65535))
#define SbxMAXLNG ( 2147483647)
-#define SbxMINLNG ((sal_Int32)(-2147483647-1))
-#define SbxMAXULNG ((sal_uInt32) 0xffffffff)
+#define SbxMINLNG (sal_Int32(-2147483647-1))
+#define SbxMAXULNG (sal_uInt32(0xffffffff))
// Currency stored as SbxSALINT64 == sal_Int64
// value range limits are ~(2^63 - 1)/10000