summaryrefslogtreecommitdiffstats
path: root/sc/inc/address.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/address.hxx')
-rw-r--r--sc/inc/address.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 2be0ff1ccb7b..77ee970b08ee 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -176,11 +176,11 @@ namespace o3tl
}
inline void applyStartToEndFlags(ScRefFlags &target,const ScRefFlags source)
{
- target |= ScRefFlags((std::underlying_type<ScRefFlags>::type)source << 4);
+ target |= ScRefFlags(static_cast<std::underlying_type<ScRefFlags>::type>(source) << 4);
}
inline void applyStartToEndFlags(ScRefFlags &target)
{
- target |= ScRefFlags((std::underlying_type<ScRefFlags>::type)target << 4);
+ target |= ScRefFlags(static_cast<std::underlying_type<ScRefFlags>::type>(target) << 4);
}
// ScAddress