To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56633
Issue #:|56633
Summary:|document converter wizard fails when compatability is
|enabled
Component:|Installation
Version:|OOO 2.0 Beta2
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|of
Reported by:|npower
------- Additional comments from [EMAIL PROTECTED] Tue Oct 25 09:08:57 -0700
2005 -------
ImportWizard.FileModul.ReadCollectionPaths has 2 variables undefined even though
option 'EXPLICIT' is set.
undefined variable are oDocInfo & bInterruptSearch
A seperate issue seems that BASIC does not detect this situation ( the variables
in question are defined in Tools.UCB ) and have no scoping keyword ( therefore
are private ). On SUSE & Novell systems basic is built with compatability=on by
default, this results in an extra check picking up the error above the results
in the DocumentConvertor failing.
To see the error you need to simulate that the compatability option is turned on
e.g. insert the line
"CompatibilityMode( true )"
just after the function definition for ReadCollectionPaths
The fix is to simply patch the module, I'll open a seperate issue for the fact
that basic does not detect that the variables are not defined/dim-ed when option
'explicit' is set.
Index: FilesModul.xba
===================================================================
RCS file: /cvs/installation/wizards/source/importwizard/FilesModul.xba,v
retrieving revision 1.44
diff -u -p -r1.44 FilesModul.xba
--- FilesModul.xba 13 May 2005 09:43:43 -0000 1.44
+++ FilesModul.xba 25 Oct 2005 16:21:16 -0000
@@ -41,6 +41,8 @@ Dim NewContentList() as String
Dim XMLTemplateContentString as String
Dim ApplIndex as Integer
Dim bAssignFileName as Boolean
+Dim oDocInfo as Object
+Dim bInterruptSearch as Boolean
oDocInfo =
CreateUnoService("com.sun.star.document.DocumentProperties")
bInterruptSearch = False
For i = 0 To MaxCollectIndex
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]