diff options
-rw-r--r-- | sc/sdi/scalc.sdi | 6 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh1.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index 2fbf3733ff75..7bc2db651d3c 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -3280,7 +3280,7 @@ SfxVoidItem SolverDialog SID_OPENDLG_OPTSOLVER ] SfxVoidItem SearchResultsDialog SID_SEARCH_RESULTS_DIALOG -() +(SfxBoolItem Visible SID_SEARCH_RESULTS_DIALOG) [ /* flags: */ AutoUpdate = FALSE, @@ -3297,9 +3297,9 @@ SfxVoidItem SearchResultsDialog SID_SEARCH_RESULTS_DIALOG /* config: */ AccelConfig = TRUE, - MenuConfig = TRUE, + MenuConfig = FALSE, StatusBarConfig = FALSE, - ToolBoxConfig = TRUE, + ToolBoxConfig = FALSE, GroupId = GID_OPTIONS; ] diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 6fd0e5074493..6c2a7ef429f6 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -1017,7 +1017,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) case SID_SEARCH_RESULTS_DIALOG: { const SfxPoolItem* pItem = NULL; - if (pReqArgs->HasItem(SID_SEARCH_RESULTS_DIALOG, &pItem)) + if (pReqArgs && pReqArgs->HasItem(SID_SEARCH_RESULTS_DIALOG, &pItem)) { bool bVisible = static_cast<const SfxBoolItem*>(pItem)->GetValue(); SfxViewFrame* pViewFrm = pTabViewShell->GetViewFrame(); |