summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2013-07-16 19:06:50 +0200
committerTomaž Vajngerl <quikee@gmail.com>2013-07-19 16:57:37 +0200
commitf2c9aa43666101c6970ea33f50fb4e780b99b97c (patch)
treebadef17067ab93d4f2f65ab013040eb92beee2a8 /sc/source/ui/view/cellsh.cxx
parentd2734a6ae65dc655787ba5a48d1fb5f44905a937 (diff)
fdo#66477 Add sampling feature to calc
Initial implementation of SamplingDialog. Change-Id: If26e8561705229f83777fb50d53c86b9fe056ffa
Diffstat (limited to 'sc/source/ui/view/cellsh.cxx')
-rw-r--r--sc/source/ui/view/cellsh.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index 05d55f4dee3e..489763953595 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -172,6 +172,7 @@ void ScCellShell::GetBlockState( SfxItemSet& rSet )
break;
case FID_FILL_SERIES: // fill block
case SID_OPENDLG_RANDOM_NUMBER_GENERATOR:
+ case SID_SAMPLING_DIALOG:
case SID_OPENDLG_TABOP: // multiple-cell operations, are at least 2 cells marked?
if (pDoc->GetChangeTrack()!=NULL &&nWhich ==SID_OPENDLG_TABOP)
bDisable = sal_True;