summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-11-08 19:41:42 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-11-10 21:08:08 +0100
commita847127fc32c2c611a7c2cc281e1ce7b27bb7754 (patch)
treee3080aaf57c994eb6425811a5c2f27d5251227c3 /svx
parentb905d3e9f261fd9dbe9fdbedacd302ee2898c24a (diff)
XDash: salu_uIntPtr to sal_uInt32
Unsigned integer was used tp be consistent with previous integral type, but both unsigned and signed integers are used by callers. Change-Id: I3f902e00fbff690a72a7ca0f1c818976d3d2bebe
Diffstat (limited to 'svx')
-rw-r--r--svx/source/xoutdev/xattr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 5d08e1e54ca3..4b5f51baec61 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -434,8 +434,8 @@ sal_uInt16 XLineStyleItem::GetValueCount() const
return 3;
}
-XDash::XDash(css::drawing::DashStyle eTheDash, sal_uInt16 nTheDots, sal_uIntPtr nTheDotLen,
- sal_uInt16 nTheDashes, sal_uIntPtr nTheDashLen, sal_uIntPtr nTheDistance) :
+XDash::XDash(css::drawing::DashStyle eTheDash, sal_uInt16 nTheDots, sal_uInt32 nTheDotLen,
+ sal_uInt16 nTheDashes, sal_uInt32 nTheDashLen, sal_uInt32 nTheDistance) :
eDash(eTheDash),
nDots(nTheDots),
nDotLen(nTheDotLen),
@@ -968,7 +968,7 @@ bool XLineDashItem::PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId )
case MID_LINEDASH_DASHLEN:
case MID_LINEDASH_DISTANCE:
{
- sal_Int32 nVal = 0;
+ sal_uInt32 nVal = 0;
if(!(rVal >>= nVal))
return false;