To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=64574
                  Issue #:|64574
                  Summary:|#define css ::com::sun::star makes the code ugly
                Component:|framework
                  Version:|OOo 2.0.2
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|tm
              Reported by:|kendy





------- Additional comments from [EMAIL PROTECTED] Thu Apr 20 09:49:04 -0700 
2006 -------
// define css alias ... and undefine it at the end of this file !!!  
#ifdef css  
        #error "I tried to use css as namespace define inside non exported  
header ... but it was already defined by somwhere else. .-)"  
#else  
        #define css ::com::sun::star  
#endif  
  
eg. in framework/inc/dispatch/helpagentdispatcher.hxx and others...  Why should 
 
we do such a thing? :-(  
  
For .hxx - it should be easily readable & does not change too often - so  
the author could have spent some time on writing the full ::com::sun::star  
  
For .cxx - we can use 'using ::com::sun::star;'

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