diff options
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/graphictools.hxx | 4 | ||||
-rw-r--r-- | vcl/source/gdi/graphictools.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 40f1469ef827..dde41d2632d8 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1311,7 +1311,7 @@ sal_Bool ODbaseTable::CreateFile(const INetURLObject& aFile, sal_Bool& bCreateMe (*m_pFileStream) << cTyp; if ( nDbaseType == VisualFoxPro ) - (*m_pFileStream) << (nRecLength-1); + (*m_pFileStream) << sal_uInt16(nRecLength-1); else m_pFileStream->Write(aBuffer, 4); diff --git a/vcl/inc/vcl/graphictools.hxx b/vcl/inc/vcl/graphictools.hxx index c027f6a04691..78be3b921fad 100644 --- a/vcl/inc/vcl/graphictools.hxx +++ b/vcl/inc/vcl/graphictools.hxx @@ -274,7 +274,7 @@ public: GradientType aGradientType, // TODO: Transparent gradients (orthogonal to normal ones) Color aGradient1stColor, // TODO: vector of colors and offsets Color aGradient2ndColor, - int aGradientStepCount, // numbers of steps to render the gradient. gradientStepsInfinite means infinitely many. + sal_Int32 aGradientStepCount, // numbers of steps to render the gradient. gradientStepsInfinite means infinitely many. const Graphic& aFillGraphic ); // accessors @@ -348,7 +348,7 @@ private: GradientType maGradientType; Color maGradient1stColor; Color maGradient2ndColor; - int maGradientStepCount; + sal_Int32 maGradientStepCount; Graphic maFillGraphic; }; diff --git a/vcl/source/gdi/graphictools.cxx b/vcl/source/gdi/graphictools.cxx index 3f6a0ec59a34..d945e5328e63 100644 --- a/vcl/source/gdi/graphictools.cxx +++ b/vcl/source/gdi/graphictools.cxx @@ -343,7 +343,7 @@ SvtGraphicFill::SvtGraphicFill( const PolyPolygon& rPath, GradientType aGradientType, Color aGradient1stColor, Color aGradient2ndColor, - int aGradientStepCount, + sal_Int32 aGradientStepCount, const Graphic& aFillGraphic ) : maPath( rPath ), maFillColor( aFillColor ), |