summaryrefslogtreecommitdiff
path: root/wizards/source/importwizard/FilesModul.xba
diff options
context:
space:
mode:
authorBehrend Cornelius <bc@openoffice.org>2001-11-05 14:35:36 +0000
committerBehrend Cornelius <bc@openoffice.org>2001-11-05 14:35:36 +0000
commit5a4b4415be2dc4c447a19058e7f15e4c5aa21c4f (patch)
tree1632988a2c1cf14f7ae4a6e45dc6b0f27a74ecf5 /wizards/source/importwizard/FilesModul.xba
parent37f4d7f96337ba3572d44356a276953a46c7f783 (diff)
#93436# Declaration of OS Function "RegCloseKey" modified
Diffstat (limited to 'wizards/source/importwizard/FilesModul.xba')
-rw-r--r--wizards/source/importwizard/FilesModul.xba12
1 files changed, 2 insertions, 10 deletions
diff --git a/wizards/source/importwizard/FilesModul.xba b/wizards/source/importwizard/FilesModul.xba
index 3e121258e2e2..a7ffbc641179 100644
--- a/wizards/source/importwizard/FilesModul.xba
+++ b/wizards/source/importwizard/FilesModul.xba
@@ -316,15 +316,7 @@ Dim i as Integer
Dim bLogExists as Boolean
If ImportDialog.chkLogfile.State = 1 Then
i = 2
-&apos;Dim oArg() as new com.sun.star.beans.PropertyValue
-&apos;Dim oUrl as new com.sun.star.util.URL
-&apos;Dim oDisp as Object
-&apos; oUrl.Complete = &quot;private:factory/swriter&quot;
-&apos; oDisp = StarDesktop.currentFrame.queryDispatch(oUrl, &quot;_self&quot;, 0)
-&apos; oDisp = StarDesktop.currentFrame.queryDispatch(oUrl, &quot;_self&quot;, 0)
-
-&apos; oDisp.dispatch(oUrl, oArg())
- oLogDocument = StarDesktop.LoadComponentFromURL(&quot;private:factory/swriter&quot;, &quot;_blank&quot;, 4, NoArgs())&apos; HiddenProperties()) &apos; HiddenProperties())
+ oLogDocument = StarDesktop.LoadComponentFromURL(&quot;private:factory/swriter&quot;, &quot;_blank&quot;, 4, NoArgs())&apos; HiddenProperties()) &apos; HiddenProperties())
oLogCursor = oLogDocument.Text.CreateTextCursor
oLogTable = oLogDocument.CreateInstance(&quot;com.sun.star.text.TextTable&quot;)
oLogCursor.Text.InsertTextContent(oLogCursor, oLogTable, True)
@@ -333,7 +325,7 @@ Dim bLogExists as Boolean
oLogCursor = oLogTable.GetCellbyPosition(1,0).createTextCursor
oLogCursor.SetString(sTargetDocuments)
bInsertRow = False
- &apos; Todo: Strings in Resourcen
+&apos; Todo: Strings in Resourcen
sLogUrl = SOWorkPath &amp; &quot;/Logfile.sxw&quot;
Do
bLogExists = oUcb.Exists(sLogUrl)