diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 13:14:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-24 14:43:09 +0200 |
commit | 4e729de73f2947155248f8df5897380611b87917 (patch) | |
tree | 2c3f92962615fa3b7eaf4468e08f48b277464a56 /sc/source/ui/view/cellsh.cxx | |
parent | 6217cfd414ee86b160313c0a71b7d62e1eb3db14 (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/source/ui/view/cellsh.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx index 77d8b29e6570..7800a0f7fac3 100644 --- a/sc/source/ui/view/cellsh.cxx +++ b/sc/source/ui/view/cellsh.cxx @@ -707,14 +707,6 @@ void ScCellShell::GetState(SfxItemSet &rSet) rSet.Put( SfxInt16Item( nWhich, nTab+1 ) ); break; - case SID_RANGE_VALUE: - { - double nValue; - pDoc->GetValue( nPosX, nPosY, nTab, nValue ); - rSet.Put( ScDoubleItem( nWhich, nValue ) ); - } - break; - case SID_RANGE_FORMULA: { OUString aString; |