Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3703
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/03/3703/1
Make uno any types explicit.
This was previously sticking long types into Any - which yields
different sal types on different archs.
Change-Id: Ifc7a60a052b57f8a83739ec11a97ab32aaa2ee7c
---
M svx/source/unodraw/unoshape.cxx
1 file changed, 3 insertions(+), 3 deletions(-)
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 @@
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 @@
}
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:
--
To view, visit https://gerrit.libreoffice.org/3703
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc7a60a052b57f8a83739ec11a97ab32aaa2ee7c
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Thorsten Behrens <tbehrens@suse.com>
Context
- [PATCH libreoffice-4-0] Make uno any types explicit. · Thorsten Behrens (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.