summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshap2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-25 15:57:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-25 22:06:24 +0200
commita4bab9609b04cb644859cf548bb4739a9d5aa590 (patch)
treef2dddbe1e58dea624ec9a8ba227ab00d97b26760 /svx/source/unodraw/unoshap2.cxx
parent38498f05cae63566c1e2d9db04d8fc8be6d309e2 (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>
Diffstat (limited to 'svx/source/unodraw/unoshap2.cxx')
-rw-r--r--svx/source/unodraw/unoshap2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index 74e59b8acc3e..92e30d930efc 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -686,7 +686,7 @@ namespace
for ( auto const & rEntry : aMapAdjustToAlign )
if ( nValue == rEntry.nFormValue )
{
- _rValue <<= rEntry.nAPIValue;
+ _rValue <<= (sal_uInt16)rEntry.nAPIValue;
return;
}
}