To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62692
                  Issue #:|62692
                  Summary:|services uses osl_getConfigDir() and not
                          |osl_getHomeDir() for resolving $(home)
                Component:|framework
                  Version:|680m156
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|scripting
              Assigned to:|npower
              Reported by:|gpiroux





------- Additional comments from [EMAIL PROTECTED] Wed Mar  1 09:44:00 -0800 
2006 -------
>From the mac/porting mailing list : 

The "PathSubstitution" service uses osl_getConfigDir() and not osl_getHomeDir()
for resolving $(home). The file in question is
framework/source/services/substitutepathvars.cxx.

For example, the following macro,

   Sub Main
        aService = CreateUnoService("com.sun.star.util.PathSubstitution")
        Msgbox "home : " & aService.substituteVariables("$(home)", true) 
   End Sub

returns the configuration dir, which is the same as $HOME on linux but is
"$HOME/Library/Application Support" on MacOSX (m156).
It should point to $HOME !

---------------------------------------------------------------------
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]

Reply via email to