To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97456
                 Issue #|97456
                 Summary|Avoid enumeration name conflict in sw/sourcw/ui/docvw/
                        |srcedtw.cxx
               Component|Word processor
                 Version|DEV300m37
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|writerneedsconfirm
             Reported by|tono





------- Additional comments from t...@openoffice.org Sun Dec 21 03:53:32 +0000 
2008 -------
Enumeration names TT_{...} are used in sw/sourcw/ui/docvw/srcedtw.cxx for enum 
SwHtmlTextType.

In the meantime, enumeration names TT_{...} are also used in 
svtools/inc/svtools/syntaxhighlight.hxx from m37. Actually they have been 
residing in basic/inc/basic/hilight.hxx until m36 and moved to 
svtools/inc/svtools/syntaxhighlight.hxx that is also used in sw module and 
included in precompiled_sw.hxx.

So if a builder attempts to enable precompiled header, he will face name 
conflicts in TT_UNKNOWN and TT_COMMENT.

If he does not enable precompiled header, the build is OK but I think such 
collision of names should be avoided anyway.

The following patch changes the prefices TT_ to SWTT_ in 
sw/sourcw/ui/docvw/srcedtw.cxx so as to remedy the issue.

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


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

Reply via email to