To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=60111
                  Issue #:|60111
                  Summary:|Avoid to SmGetActiveView
                Component:|Formula editor
                  Version:|680m146
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|tl
              Reported by:|tl





------- Additional comments from [EMAIL PROTECTED] Thu Jan  5 23:37:45 -0800 
2006 -------
SmGetActiveView should not be called wherever possible since it uses
SfxViewShell::Current() got more unreliable and may return 0 pointer even if a
view is available.
Also all dialogs requiring access to the view should be created in SmView and
get the view pointer as an argument. Currently some of those dialogs are created
in SmDoc::Execute where the view still has to be guessed with SmGetActiveView.

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