diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-25 15:57:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-26 08:30:03 +0200 |
commit | c694ce3e0b3a6832ed36b3ca683d18d740310bbd (patch) | |
tree | e4e292183ee65cafb20bec28b1ad60f980950427 | |
parent | b75ffa19c102d8485bc3b3c6c3a438058aca5dc5 (diff) |
tdf#109242 fix save/load of form button alignment
Regression introduced by commit
dcffc21805828ddff7de1282f3d40ffdf3fac38d
"use actual UNO enums in svx"
Change-Id: Ie3bb025fa0ef52d2e746e4556cf29dbd3c3d55a9
Reviewed-on: https://gerrit.libreoffice.org/40416
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit a4bab9609b04cb644859cf548bb4739a9d5aa590)
Reviewed-on: https://gerrit.libreoffice.org/40432
-rw-r--r-- | svx/source/unodraw/unoshap2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx index 48c0158b8fb9..fa6b6f0eef09 100644 --- a/svx/source/unodraw/unoshap2.cxx +++ b/svx/source/unodraw/unoshap2.cxx @@ -687,7 +687,7 @@ namespace for ( auto const & rEntry : aMapAdjustToAlign ) if ( nValue == rEntry.nFormValue ) { - _rValue <<= rEntry.nAPIValue; + _rValue <<= (sal_uInt16)rEntry.nAPIValue; return; } } |