diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-16 22:17:11 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-16 23:00:33 +0200 |
commit | 5bbc90be755aae4b87125f9d748828d74efe645d (patch) | |
tree | acc00034edcd03db69cd93abcd51d3985e95590c | |
parent | 04ab7b8e16af993c3269e3780e5234903cdc0cf1 (diff) |
unused XGradient::VclGradient
Change-Id: Ia0c416ce7c1323f9c0c20b969bd57e9a2174a3dc
-rw-r--r-- | include/svx/xgrad.hxx | 1 | ||||
-rw-r--r-- | svx/source/xoutdev/xattr.cxx | 16 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 18 deletions
diff --git a/include/svx/xgrad.hxx b/include/svx/xgrad.hxx index 30c1741f31eb..b97d0c0d0a6d 100644 --- a/include/svx/xgrad.hxx +++ b/include/svx/xgrad.hxx @@ -75,7 +75,6 @@ public: sal_uInt16 GetStartIntens() const { return nIntensStart; } sal_uInt16 GetEndIntens() const { return nIntensEnd; } sal_uInt16 GetSteps() const { return nStepCount; } - Gradient VclGradient() const; }; #endif diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx index 84b1f0ad5756..b9dfb6a3f212 100644 --- a/svx/source/xoutdev/xattr.cxx +++ b/svx/source/xoutdev/xattr.cxx @@ -2511,22 +2511,6 @@ bool XGradient::operator==(const XGradient& rGradient) const 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 TYPEINIT1_AUTOFACTORY(XFillGradientItem, NameOrIndex); diff --git a/unusedcode.easy b/unusedcode.easy index 5e769ec3de22..e75d5121f5f3 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -59,7 +59,6 @@ VCLXGraphics::getLineColor() VCLXGraphics::getRasterOp() VCLXGraphics::getTextColor() VCLXGraphics::getTextFillColor() -XGradient::VclGradient() const apitest::CellProperties::testRotateReference() apitest::CellProperties::testVertJustify() apitest::DataPilotField::testAutoShowInfo() |