Kaydet (Commit) c6b8c461 authored tarafından Michael Meeks's avatar Michael Meeks

WaE: fix misc. SvStream operator problems.

üst 75a6a51a
...@@ -1311,7 +1311,7 @@ sal_Bool ODbaseTable::CreateFile(const INetURLObject& aFile, sal_Bool& bCreateMe ...@@ -1311,7 +1311,7 @@ sal_Bool ODbaseTable::CreateFile(const INetURLObject& aFile, sal_Bool& bCreateMe
(*m_pFileStream) << cTyp; (*m_pFileStream) << cTyp;
if ( nDbaseType == VisualFoxPro ) if ( nDbaseType == VisualFoxPro )
(*m_pFileStream) << (nRecLength-1); (*m_pFileStream) << sal_uInt16(nRecLength-1);
else else
m_pFileStream->Write(aBuffer, 4); m_pFileStream->Write(aBuffer, 4);
......
...@@ -274,7 +274,7 @@ public: ...@@ -274,7 +274,7 @@ public:
GradientType aGradientType, // TODO: Transparent gradients (orthogonal to normal ones) GradientType aGradientType, // TODO: Transparent gradients (orthogonal to normal ones)
Color aGradient1stColor, // TODO: vector of colors and offsets Color aGradient1stColor, // TODO: vector of colors and offsets
Color aGradient2ndColor, 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 ); const Graphic& aFillGraphic );
// accessors // accessors
...@@ -348,7 +348,7 @@ private: ...@@ -348,7 +348,7 @@ private:
GradientType maGradientType; GradientType maGradientType;
Color maGradient1stColor; Color maGradient1stColor;
Color maGradient2ndColor; Color maGradient2ndColor;
int maGradientStepCount; sal_Int32 maGradientStepCount;
Graphic maFillGraphic; Graphic maFillGraphic;
}; };
......
...@@ -343,7 +343,7 @@ SvtGraphicFill::SvtGraphicFill( const PolyPolygon& rPath, ...@@ -343,7 +343,7 @@ SvtGraphicFill::SvtGraphicFill( const PolyPolygon& rPath,
GradientType aGradientType, GradientType aGradientType,
Color aGradient1stColor, Color aGradient1stColor,
Color aGradient2ndColor, Color aGradient2ndColor,
int aGradientStepCount, sal_Int32 aGradientStepCount,
const Graphic& aFillGraphic ) : const Graphic& aFillGraphic ) :
maPath( rPath ), maPath( rPath ),
maFillColor( aFillColor ), maFillColor( aFillColor ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment