summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh1.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-18 14:38:48 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-18 14:39:43 +0100
commit16d50ae144d4ddd86177bd35ddd0b79529fbf79e (patch)
tree271813ea3bfb9f9ce1e07e985f8e2560deb31e07 /sc/source/ui/view/cellsh1.cxx
parent6d36a31df1726e45d5c4e3623354afe5c5ab814d (diff)
add all the new conditional formats to the menu, related fdo#58778
Change-Id: I398fac5c585b5ea6e40331b50119c90c180a32bc
Diffstat (limited to 'sc/source/ui/view/cellsh1.cxx')
-rw-r--r--sc/source/ui/view/cellsh1.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 4654596e529b..5c4d42bfb0a0 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -1759,6 +1759,8 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
case SID_OPENDLG_CONDFRMT:
case SID_OPENDLG_COLORSCALE:
case SID_OPENDLG_DATABAR:
+ case SID_OPENDLG_ICONSET:
+ case SID_OPENDLG_CONDDATE:
{
ScRangeList aRangeList;
@@ -1865,7 +1867,14 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
case SID_OPENDLG_DATABAR:
eType = condformat::dialog::DATABAR;
break;
+ case SID_OPENDLG_ICONSET:
+ eType = condformat::dialog::ICONSET;
+ break;
+ case SID_OPENDLG_CONDDATE:
+ eType = condformat::dialog::DATE;
+ break;
default:
+ assert(false);
break;
}
pCondFormatDlg.reset( new ScCondFormatDlg( pTabViewShell->GetDialogParent(), pDoc, NULL, aRangeList, aRangeList.GetTopLeftCorner(), eType ) );