summaryrefslogtreecommitdiff
path: root/sc/inc/attrib.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-23 13:14:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-24 14:43:09 +0200
commit4e729de73f2947155248f8df5897380611b87917 (patch)
tree2c3f92962615fa3b7eaf4468e08f48b277464a56 /sc/inc/attrib.hxx
parent6217cfd414ee86b160313c0a71b7d62e1eb3db14 (diff)
ScDoubleItem is dead
i.e. no way to get any useful information out of it, at least since commit 8b3fcb6a4f80e803586120535768745f6637b34d Date: Fri Aug 11 10:01:25 2017 +0530 Removing unused SfxItemPool serialisation from svx Which means that SID_RANGE_VALUE is also useless. Possibly the commit that added this had a bug, and it meant to use SvxDoubleItem, which implements the necessary QueryValue/PutValue methods to be able to interact with macro code. Change-Id: I6ffb0c46f6f0864f202d71f0e157d7e1d0f54f51 Reviewed-on: https://gerrit.libreoffice.org/62232 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/attrib.hxx')
-rw-r--r--sc/inc/attrib.hxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index 08363b2ac681..5c0ce12a45c0 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -214,21 +214,6 @@ public:
const IntlWrapper& rIntl ) const override;
};
-class ScDoubleItem : public SfxPoolItem
-{
-public:
- static SfxPoolItem* CreateDefault();
- ScDoubleItem( sal_uInt16 nWhich, double nVal );
- ScDoubleItem( const ScDoubleItem& rItem );
- virtual ~ScDoubleItem() override;
-
- virtual bool operator==( const SfxPoolItem& ) const override;
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
-
-private:
- double nValue;
-};
-
/** Member ID for "page scale to width" value in QueryValue() and PutValue(). */
const sal_uInt8 SC_MID_PAGE_SCALETO_WIDTH = 1;
/** Member ID for "page scale to height" value in QueryValue() and PutValue(). */