summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-03 14:24:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-06 05:59:40 +0000
commit6b58caf0597fed21c78fd806e5f2cef6fc43c502 (patch)
tree9dc1df5b653b6265d2b1186413e97d18bea56d8e /sd
parent59fbef6cf83083d678571f706bebd5f3147a3d0e (diff)
Dia*Item classes are unused
Change-Id: I0546a15300312c19feaf701057ab0191547b9202 Reviewed-on: https://gerrit.libreoffice.org/34858 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/sdattr.hxx30
-rw-r--r--sd/source/core/sdattr.cxx67
2 files changed, 0 insertions, 97 deletions
diff --git a/sd/inc/sdattr.hxx b/sd/inc/sdattr.hxx
index da661900de86..afda93ceec26 100644
--- a/sd/inc/sdattr.hxx
+++ b/sd/inc/sdattr.hxx
@@ -67,36 +67,6 @@ inline SfxBoolItem makeSdAttrLayerThisPage()
return SfxBoolItem( ATTR_LAYER_THISPAGE, false );
}
-class DiaEffectItem : public SfxEnumItem<sal_uInt16>
-{
-public:
- DiaEffectItem( SvStream& rIn );
-
- virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override;
- virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const override;
- sal_uInt16 GetValueCount() const override { return FADE_EFFECT_COUNT; }
-};
-
-class DiaSpeedItem : public SfxEnumItem<sal_uInt16>
-{
-public:
- DiaSpeedItem( SvStream& rIn );
-
- virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override;
- virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const override;
- sal_uInt16 GetValueCount() const override { return FADE_SPEED_COUNT; }
-};
-
-class DiaAutoItem : public SfxEnumItem<PresChange>
-{
-public:
- DiaAutoItem( SvStream& rIn );
-
- virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override;
- virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const override;
- sal_uInt16 GetValueCount() const override { return PRESCHANGE_COUNT; }
-};
-
#endif // INCLUDED_SD_INC_SDATTR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/core/sdattr.cxx b/sd/source/core/sdattr.cxx
index 8a6a385d62cd..52597c57ca92 100644
--- a/sd/source/core/sdattr.cxx
+++ b/sd/source/core/sdattr.cxx
@@ -17,71 +17,4 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "sdattr.hxx"
-
-using namespace ::com::sun::star;
-
-/*************************************************************************
-|*
-|* DiaEffectItem
-|*
-*************************************************************************/
-
-DiaEffectItem::DiaEffectItem( SvStream& rIn ) :
- SfxEnumItem( ATTR_DIA_EFFECT, rIn )
-{
-}
-
-SfxPoolItem* DiaEffectItem::Clone( SfxItemPool* ) const
-{
- return new DiaEffectItem( *this );
-}
-
-SfxPoolItem* DiaEffectItem::Create( SvStream& rIn, sal_uInt16 ) const
-{
- return new DiaEffectItem( rIn );
-}
-
-/*************************************************************************
-|*
-|* DiaSpeedItem
-|*
-*************************************************************************/
-
-DiaSpeedItem::DiaSpeedItem( SvStream& rIn ) :
- SfxEnumItem( ATTR_DIA_SPEED, rIn )
-{
-}
-
-SfxPoolItem* DiaSpeedItem::Clone( SfxItemPool* ) const
-{
- return new DiaSpeedItem( *this );
-}
-
-SfxPoolItem* DiaSpeedItem::Create( SvStream& rIn, sal_uInt16 ) const
-{
- return new DiaSpeedItem( rIn );
-}
-
-/*************************************************************************
-|*
-|* DiaAutoItem
-|*
-*************************************************************************/
-
-DiaAutoItem::DiaAutoItem( SvStream& rIn ) :
- SfxEnumItem( ATTR_DIA_AUTO, rIn )
-{
-}
-
-SfxPoolItem* DiaAutoItem::Clone( SfxItemPool* ) const
-{
- return new DiaAutoItem( *this );
-}
-
-SfxPoolItem* DiaAutoItem::Create( SvStream& rIn, sal_uInt16 ) const
-{
- return new DiaAutoItem( rIn );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */