summaryrefslogtreecommitdiff
path: root/sw/sdi/docsh.sdi
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-05-23 12:04:06 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-05-23 12:10:26 -0400
commit5b17d2d731e014d79cbba716fcbc8fbd357094e8 (patch)
tree759ee8e332a536d1cad68beaaa563fe2623ea35d /sw/sdi/docsh.sdi
parent038564c910e43f569b7c6abebffe2ad6ec9a1822 (diff)
Pass document service to the dispatcher when opening file from writer.
This is similar to what I did earlier for calc. This info will be used later in the type detection code. Change-Id: I7ba7dcdc03cbfe77eba5c7594fc0385ad3775541
Diffstat (limited to 'sw/sdi/docsh.sdi')
-rw-r--r--sw/sdi/docsh.sdi5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/sdi/docsh.sdi b/sw/sdi/docsh.sdi
index 5925edd7528c..ddca15e5750b 100644
--- a/sw/sdi/docsh.sdi
+++ b/sw/sdi/docsh.sdi
@@ -63,6 +63,11 @@ interface TextDocument : BaseTextDocument
ExecMethod = Execute;
StateMethod = GetState;
]
+ FN_OPEN_FILE
+ [
+ ExecMethod = Execute;
+ StateMethod = GetState;
+ ]
}
shell SwDocShell