summaryrefslogtreecommitdiff
path: root/sw/inc/tblenum.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-23 16:58:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-24 08:46:48 +0200
commitbfafda5829f75091c9db798f953d617cde688a1f (patch)
tree0f0c4eb9c4e53d7d726e2cb4de0488a396a7945e /sw/inc/tblenum.hxx
parent12fc1372f0e581348c70ad9d817b54c390f0e1cc (diff)
tdf#107866 - Changing table column width with Alt+arrow key strokes is broken
regression from commit 890d6790715c4c3f3565b476d538643f04dc6936 "convert TableChgWidthHeightType to o3tl::typed_flags" Change-Id: Ia1c3ec09d23ffe502dd8cb0ab673e45935bd4909 Reviewed-on: https://gerrit.libreoffice.org/37956 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/tblenum.hxx')
-rw-r--r--sw/inc/tblenum.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/tblenum.hxx b/sw/inc/tblenum.hxx
index 327d0ea52e37..bf9570f17fec 100644
--- a/sw/inc/tblenum.hxx
+++ b/sw/inc/tblenum.hxx
@@ -45,7 +45,7 @@ namespace o3tl {
template<> struct typed_flags<TableChgWidthHeightType> : is_typed_flags<TableChgWidthHeightType, 0xc00f> {};
}
constexpr TableChgWidthHeightType extractPosition(TableChgWidthHeightType e) {
- return static_cast<TableChgWidthHeightType>(static_cast<int>(e) & 0xf);
+ return static_cast<TableChgWidthHeightType>(static_cast<sal_uInt16>(e) & 0xf);
}
enum class TableChgMode