Kaydet (Commit) 5bbc90be authored tarafından Miklos Vajna's avatar Miklos Vajna

unused XGradient::VclGradient

Change-Id: Ia0c416ce7c1323f9c0c20b969bd57e9a2174a3dc
üst 04ab7b8e
...@@ -75,7 +75,6 @@ public: ...@@ -75,7 +75,6 @@ public:
sal_uInt16 GetStartIntens() const { return nIntensStart; } sal_uInt16 GetStartIntens() const { return nIntensStart; }
sal_uInt16 GetEndIntens() const { return nIntensEnd; } sal_uInt16 GetEndIntens() const { return nIntensEnd; }
sal_uInt16 GetSteps() const { return nStepCount; } sal_uInt16 GetSteps() const { return nStepCount; }
Gradient VclGradient() const;
}; };
#endif #endif
......
...@@ -2511,22 +2511,6 @@ bool XGradient::operator==(const XGradient& rGradient) const ...@@ -2511,22 +2511,6 @@ bool XGradient::operator==(const XGradient& rGradient) const
nStepCount == rGradient.nStepCount ); nStepCount == rGradient.nStepCount );
} }
Gradient XGradient::VclGradient() const
{
Gradient aGradient;
aGradient.SetStyle((GradientStyle)eStyle);
aGradient.SetStartColor(aStartColor);
aGradient.SetEndColor(aEndColor);
aGradient.SetAngle(nAngle);
aGradient.SetBorder(nBorder);
aGradient.SetOfsX(nOfsX);
aGradient.SetOfsY(nOfsY);
aGradient.SetStartIntensity(nIntensStart);
aGradient.SetEndIntensity(nIntensEnd);
aGradient.SetSteps(nStepCount);
return aGradient;
}
// class XFillGradientItem // class XFillGradientItem
TYPEINIT1_AUTOFACTORY(XFillGradientItem, NameOrIndex); TYPEINIT1_AUTOFACTORY(XFillGradientItem, NameOrIndex);
......
...@@ -59,7 +59,6 @@ VCLXGraphics::getLineColor() ...@@ -59,7 +59,6 @@ VCLXGraphics::getLineColor()
VCLXGraphics::getRasterOp() VCLXGraphics::getRasterOp()
VCLXGraphics::getTextColor() VCLXGraphics::getTextColor()
VCLXGraphics::getTextFillColor() VCLXGraphics::getTextFillColor()
XGradient::VclGradient() const
apitest::CellProperties::testRotateReference() apitest::CellProperties::testRotateReference()
apitest::CellProperties::testVertJustify() apitest::CellProperties::testVertJustify()
apitest::DataPilotField::testAutoShowInfo() apitest::DataPilotField::testAutoShowInfo()
......
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