To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79199
                 Issue #|79199
                 Summary|In msfilter.hxx, StyleMapperImpl template declaration 
                        |is an error
               Component|Word processor
                 Version|680m127
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|code
             Assigned to|hbrinkm
             Reported by|aw





------- Additional comments from [EMAIL PROTECTED] Wed Jul  4 09:16:08 +0000 
2007 -------
Exerpt from an eMail from np (in german). Short version: each cxx including this
will see another class due to anonymous namespace;

----<snip>----
Zusätzlich ist anzumerken, daß die Deklaration von

/************************/
// msfilter.hxx
namespace
{
    template<class C> class StyleMapperImpl;
}
// ...
typedef StyleMapperImpl<SwTxtFmtColl> ParaMapper;
typedef StyleMapperImpl<SwCharFmt> CharMapper;
/*************************/

ein Bug ist, weil alle Compilierungseinheiten, die msfilter.hxx includen,
Folgendes sehen:

typedef my_cxxname_anonymousnamespace::StyleMapperImpl<SwTxtFmtColl>
ParaMapper;

Dieser Typ ist aber nirgendwo implementiert, denn die Implementierung sieht:

typedef writerwordglue_cxx_anonymousnamespace::StyleMapperImpl<SwTxtFmtColl>
ParaMapper;

Das kann vorher nur durch glückliche Fügung funktioniert haben.
Anonyme Namespaces haben in Headerfiles nichts zu suchen.
----<snip>----

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