summaryrefslogtreecommitdiff
path: root/reportdesign/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:18:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:18:19 +0100
commit05db2098032f17085b7c3b47d02f617371eeddc0 (patch)
tree1a376ceb44185bf4a109102f0a67107eecff66e5 /reportdesign/inc
parent5a3bb76cd384fa3760fe8481ce008791258595ad (diff)
More loplugin:cstylecast: reportdesign
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: I690ddd7eeb5fbac979292a382074e9b29c065416
Diffstat (limited to 'reportdesign/inc')
-rw-r--r--reportdesign/inc/RptDef.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/reportdesign/inc/RptDef.hxx b/reportdesign/inc/RptDef.hxx
index ed4fba1721dc..0851df879d06 100644
--- a/reportdesign/inc/RptDef.hxx
+++ b/reportdesign/inc/RptDef.hxx
@@ -50,12 +50,12 @@ constexpr SdrLayerID RPT_LAYER_HIDDEN (2);
-#define OBJ_DLG_FIXEDTEXT ((sal_uInt16) OBJ_MAXI + 1)
+#define OBJ_DLG_FIXEDTEXT (sal_uInt16(OBJ_MAXI) + 1)
#define OBJ_DLG_IMAGECONTROL OBJ_FM_IMAGECONTROL
-#define OBJ_DLG_FORMATTEDFIELD ((sal_uInt16) OBJ_MAXI + 3)
-#define OBJ_DLG_HFIXEDLINE ((sal_uInt16) OBJ_MAXI + 4)
-#define OBJ_DLG_VFIXEDLINE ((sal_uInt16) OBJ_MAXI + 5)
-#define OBJ_DLG_SUBREPORT ((sal_uInt16) OBJ_MAXI + 6)
+#define OBJ_DLG_FORMATTEDFIELD (sal_uInt16(OBJ_MAXI) + 3)
+#define OBJ_DLG_HFIXEDLINE (sal_uInt16(OBJ_MAXI) + 4)
+#define OBJ_DLG_VFIXEDLINE (sal_uInt16(OBJ_MAXI) + 5)
+#define OBJ_DLG_SUBREPORT (sal_uInt16(OBJ_MAXI) + 6)
// allows the alignment and resizing of controls
enum class ControlModification