[Libreoffice-commits] .: connectivity/source vcl/inc vcl/source
Michael Meeks
michael at kemper.freedesktop.org
Thu Jan 19 02:00:35 PST 2012
connectivity/source/drivers/dbase/DTable.cxx | 2 +-
vcl/inc/vcl/graphictools.hxx | 4 ++--
vcl/source/gdi/graphictools.cxx | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c6b8c461bb4b119f833517112813def858903415
Author: Michael Meeks <michael.meeks at suse.com>
Date: Thu Jan 19 09:58:23 2012 +0000
WaE: fix misc. SvStream operator problems.
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 40f1469..dde41d2 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 c027f6a..78be3b9 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 3f6a0ec..d945e53 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 ),
More information about the Libreoffice-commits
mailing list