From 81c492ef18b04cc283561018d69818cbca7f83ef Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 23 May 2014 11:24:24 -0400 Subject: fdo#79011: Properly implement the search results dialog as modeless. It's unfortunate that adding a modeless dialog is such a pain. But we still need to implemenet this properly else we'll leak at best, or end up with tons of weird bugs at worst. Change-Id: Ie03260f288fad76f994d0ca6a8b1feeade299ffd --- sc/sdi/cellsh.sdi | 1 + sc/sdi/scalc.sdi | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) (limited to 'sc/sdi') diff --git a/sc/sdi/cellsh.sdi b/sc/sdi/cellsh.sdi index 62ce4858c957..8447768121b2 100644 --- a/sc/sdi/cellsh.sdi +++ b/sc/sdi/cellsh.sdi @@ -161,6 +161,7 @@ interface CellSelection SID_MOVING_AVERAGE_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ] SID_TTEST_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ] SID_FTEST_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ] + SID_SEARCH_RESULTS_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ] SID_MARKDATAAREA [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ] SID_MARKARRAYFORMULA [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ] SID_SETINPUTMODE [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ] diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index fe3d780e7ccc..1835459e540a 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -3231,6 +3231,29 @@ SfxVoidItem SolverDialog SID_OPENDLG_OPTSOLVER GroupId = GID_OPTIONS; ] +SfxVoidItem SearchResultsDialog SID_SEARCH_RESULTS_DIALOG +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_OPTIONS; +] SfxVoidItem ValidityReference SID_VALIDITY_REFERENCE () -- cgit v1.2.3