[Libreoffice-commits] core.git: svx/source
Noel Grandin
noel.grandin at collabora.co.uk
Tue Jul 25 20:07:20 UTC 2017
svx/source/unodraw/unoshap2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a4bab9609b04cb644859cf548bb4739a9d5aa590
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Tue Jul 25 15:57:04 2017 +0200
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 at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
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;
}
}
More information about the Libreoffice-commits
mailing list