To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95793
                 Issue #|95793
                 Summary|goodies: .met files don't open from command line if OO
                        |o launched with -draw
               Component|Drawing
                 Version|DEV300m31
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|ka
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Mon Nov  3 10:26:08 +0000 
2008 -------
So, taking the attached .met and OOo not running.

If we do... /path/to/soffice /tmp/demo.met it will open fine
If we do... /path/to/soffice -draw /tmp/demo.met it doesn't open

In the "-draw" case sfx2/source/doc/objstor.cxx SfxObjectShell::HandleFilter the
property UIComponent will be set and we will call DoExportDialog in
goodies/source/filter.vcl/eos2met/eos2met.cxx. While in the no "-draw" case we
do not.

If draw has a frame open then rPara.pWindow will be true in DoExportDialog and
we get the MET Options dialog, but for a first start we don't so we fall back
through BOOL    bRet = FALSE; and the .met doesn't open.

Attached changes the default ret of that method to be true so that if we do not
have a top level window we just take the default values and continue to open,
i.e the same result as if no "-draw" was on the command line

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