From 94d85ef550ad17efba5dec09290d0e8176a8b455 Mon Sep 17 00:00:00 2001 From: Mikhail Voytenko Date: Mon, 10 Jan 2011 16:11:35 +0100 Subject: removetooltypes01: #i112600# remove tooltypes from svx --- svx/source/dialog/framelink.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svx/source/dialog/framelink.cxx') diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx index 8d9ebac5a5aa..45ceac57c564 100644 --- a/svx/source/dialog/framelink.cxx +++ b/svx/source/dialog/framelink.cxx @@ -748,7 +748,7 @@ inline Point lclToMapUnit( long nSubXPos, long nSubYPos ) /** Returns a polygon constructed from a vector of points. */ inline Polygon lclCreatePolygon( const PointVec& rPoints ) { - return Polygon( static_cast< USHORT >( rPoints.size() ), &rPoints[ 0 ] ); + return Polygon( static_cast< sal_uInt16 >( rPoints.size() ), &rPoints[ 0 ] ); } /** Returns a polygon constructed from the four passed points. */ @@ -1230,9 +1230,9 @@ void Style::Set( const SvxBorderLine& rBorder, double fScale, sal_uInt16 nMaxWid { maColor = rBorder.GetColor(); - USHORT nPrim = rBorder.GetOutWidth(); - USHORT nDist = rBorder.GetDistance(); - USHORT nSecn = rBorder.GetInWidth(); + sal_uInt16 nPrim = rBorder.GetOutWidth(); + sal_uInt16 nDist = rBorder.GetDistance(); + sal_uInt16 nSecn = rBorder.GetInWidth(); if( !nSecn ) // no or single frame border { -- cgit