diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2013-04-30 21:23:46 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-05-01 13:23:31 +0100 |
commit | 8a589ab4d5d15ab15aa45ad645e98880704d2579 (patch) | |
tree | 33794b99fcd73235d45c125c4e757699c97b29d7 /svx | |
parent | ed2f7b4beab3541e1c4faa2b560a4214c88be227 (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
Reviewed-on: https://gerrit.libreoffice.org/3703
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index dc41794de75f..4c9a52eeef4e 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: |