To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112602
                 Issue #|112602
                 Summary|package: use rtl::Static to wrap globals
               Component|xml
                 Version|DEV300m83
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mav
             Reported by|cmc





------- Additional comments from c...@openoffice.org Tue Jun 22 13:45:12 +0000 
2010 -------
The attached patch...

a) Replaces the hand-rolled "static pointer check + guard + static object and
assign to pointer" patterns with the rtl::Static template implementation of the
same pattern. No real change, just slightly prettier I guess.
b) Replaces the global aImplementationId objects with rtl::Static equivalents in
order to give a deterministic order of construction and destruction which
ensures that uno::Sequences don't outlive the cppu infrastructure which is
required for them to work correctly. Currently the cppu stuff deliberately
leaks, so this isn't noticeable at the moment.

(as an aside, the ctor argument to ::cppu::OImplementationId is passed down to
rtl_createUuid as bUseEthernetAddress and is ignored these days, so I've made
the change to omit it here as well, which makes things simpler)

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


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

Reply via email to