[Libreoffice-commits] core.git: svx/source
Thorsten Behrens
tbehrens at suse.com
Tue Apr 30 12:45:56 PDT 2013
svx/source/unodraw/unoshape.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 7a569f753f8682c413362432877c100248bf7ce8
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
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 34c43a9e..5aee667 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -2767,7 +2767,7 @@ bool SvxShape::getPropertyValueImpl( const OUString&, const SfxItemPropertySimpl
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:
@@ -2847,11 +2847,11 @@ bool SvxShape::getPropertyValueImpl( const OUString&, const SfxItemPropertySimpl
}
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