[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - svx/source
Thorsten Behrens
tbehrens at suse.com
Wed May 1 05:23:11 PDT 2013
svx/source/unodraw/unoshape.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 8a589ab4d5d15ab15aa45ad645e98880704d2579
Author: Thorsten Behrens <tbehrens at 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 <dtardon at redhat.com>
Tested-by: David Tardon <dtardon at 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:
More information about the Libreoffice-commits
mailing list