summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2013-04-30 21:23:46 +0200
committerThorsten Behrens <tbehrens@suse.com>2013-04-30 21:45:29 +0200
commit7a569f753f8682c413362432877c100248bf7ce8 (patch)
tree7cebda63a7954fe46dfe6e182d912a6ea84ef8d4 /svx
parentd89f93ba774b717413f6b758a7a4684d7b7c8bb6 (diff)
Make uno any types explicit.
This was previously sticking long types into Any - which yields different sal types on different archs. Change-Id: Ifc7a60a052b57f8a83739ec11a97ab32aaa2ee7c
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoshape.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 34c43a9ee790..5aee66783c8a 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: