summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-24 13:55:53 +0200
committerNoel Grandin <noel@peralex.com>2016-08-25 08:40:00 +0200
commit4c2969b7be7701753386112d477a4b818d834708 (patch)
tree3ed2ecada7387074862258f61fbede4b74552036
parentac32de25069851369b05a4fa4d831077e5df6940 (diff)
remove unused SvxChartDataDescr and SvxChartDataDescrItem
unused since commit 4388503b94cdd305de66ab8e37e9058a160f56ba Author: Vladimir Glazounov <vg@openoffice.org> Date: Mon Oct 22 15:56:40 2007 +0000 INTEGRATION: CWS chart14 (1.3.12); FILE MERGED Change-Id: I4bebb6250efe24a3b85a99441239aa6933156a9e
-rw-r--r--include/svx/chrtitem.hxx20
-rw-r--r--svx/source/items/chrtitem.cxx17
2 files changed, 0 insertions, 37 deletions
diff --git a/include/svx/chrtitem.hxx b/include/svx/chrtitem.hxx
index 1fea249053a4..65ab0ebe3f51 100644
--- a/include/svx/chrtitem.hxx
+++ b/include/svx/chrtitem.hxx
@@ -31,14 +31,6 @@ enum SvxChartStyle
#define CHSTYLE_COUNT (CHSTYLE_ADDIN + 1)
-enum SvxChartDataDescr
-{
- CHDESCR_NONE,
- CHDESCR_TEXTANDVALUE
-};
-
-#define CHDESCR_COUNT (CHDESCR_TEXTANDVALUE + 1)
-
enum class SvxChartTextOrder
{
SideBySide,
@@ -118,18 +110,6 @@ public:
sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const override;
};
-class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxChartDataDescrItem : public SfxEnumItem
-{
-public:
- SvxChartDataDescrItem(SvStream& rIn,
- sal_uInt16 nId );
-
- virtual SfxPoolItem* Clone(SfxItemPool* pPool = nullptr) const override;
- virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const override;
-
- sal_uInt16 GetValueCount() const override { return CHDESCR_COUNT; }
-};
-
class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxChartTextOrderItem : public SfxEnumItem
{
public:
diff --git a/svx/source/items/chrtitem.cxx b/svx/source/items/chrtitem.cxx
index 9d3de391d79c..192c96dae1a1 100644
--- a/svx/source/items/chrtitem.cxx
+++ b/svx/source/items/chrtitem.cxx
@@ -55,23 +55,6 @@ SfxPoolItem* SvxChartStyleItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const
return new SvxChartStyleItem(rIn, Which());
}
-SvxChartDataDescrItem::SvxChartDataDescrItem(SvStream& rIn, sal_uInt16 nId) :
- SfxEnumItem(nId, rIn)
-{
-}
-
-
-SfxPoolItem* SvxChartDataDescrItem::Clone(SfxItemPool* /*pPool*/) const
-{
- return new SvxChartDataDescrItem(*this);
-}
-
-
-SfxPoolItem* SvxChartDataDescrItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const
-{
- return new SvxChartDataDescrItem(rIn, Which());
-}
-
SvxChartTextOrderItem::SvxChartTextOrderItem(SvxChartTextOrder eOrder,
sal_uInt16 nId) :
SfxEnumItem(nId, (sal_uInt16)eOrder)