To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=101222
                 Issue #|101222
                 Summary|return code handling in InprocEmbedDocument_Impl::SetH
                        |ostNames
               Component|framework
                 Version|DEV300m46
                Platform|PC
                     URL|
              OS/Version|Windows, all
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|tm
             Reported by|tono





------- Additional comments from t...@openoffice.org Mon Apr 20 13:03:12 +0000 
2009 -------
In InprocEmbedDocument_Impl::SetHostNames() at line #862 in 
embedserv/source/inprocserv/inprocembobj.cxx, the variable "hr" is defined both 
inside and outside of an if-block. So outside definition is shadowed.

As the variable is only initialized and used for return outside of the if-
block, it does not make sense to use another variable inside of the if-block, I 
think.

Most probably the definition inside the if-block is not intended.

---------------------------------------------------------------------
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to