svx/source/unodraw/unoshape.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 3ac3c8681253b7a05d5736f664929bcd5f15c8aa Author: Thorsten Behrens <tbehr...@suse.com> Date: Tue Apr 30 21:23:46 2013 +0200 Make uno any types explicit. This was previously sticking long types into Any - which yields different sal types on different archs. Change-Id: Ifc7a60a052b57f8a83739ec11a97ab32aaa2ee7c Reviewed-on: https://gerrit.libreoffice.org/3703 Reviewed-by: David Tardon <dtar...@redhat.com> Tested-by: David Tardon <dtar...@redhat.com> diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index dc41794..4c9a52e 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -2770,7 +2770,7 @@ bool SvxShape::getPropertyValueImpl( const ::rtl::OUString&, const SfxItemProper case OWN_ATTR_GLUEID_HEAD: case OWN_ATTR_GLUEID_TAIL: { - rValue <<= pEdgeObj->getGluePointIndex( pProperty->nWID == OWN_ATTR_GLUEID_HEAD ); + rValue <<= (sal_Int32)pEdgeObj->getGluePointIndex( pProperty->nWID == OWN_ATTR_GLUEID_HEAD ); break; } case OWN_ATTR_EDGE_POLYPOLYGONBEZIER: @@ -2850,11 +2850,11 @@ bool SvxShape::getPropertyValueImpl( const ::rtl::OUString&, const SfxItemProper } case SDRATTR_ROTATEANGLE: - rValue <<= mpObj->GetRotateAngle(); + rValue <<= (sal_Int32)mpObj->GetRotateAngle(); break; case SDRATTR_SHEARANGLE: - rValue <<= mpObj->GetShearAngle(); + rValue <<= (sal_Int32)mpObj->GetShearAngle(); break; case SDRATTR_OBJMOVEPROTECT: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits