To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56497


User pb changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|pb                        |fme
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Tue Mar 14 03:02:16 -0800 
2006 -------
pb -> fme: please take over.
You can reproduce it with a lithuanian writer resource:
setenv with_lang 'en-US de lt'
touch one resource file
build sw
copy sw680lt.res -> office/program/resource/sw680en-US.res

Here is the stack:
sw680mi.dll!SwConditionTxtFmtColl::SetConditions()
sw680mi.dll!SwDoc::CopyFmtArr()
sw680mi.dll!SwDoc::ReplaceStyles()
sw680mi.dll!SwDocShell::_LoadStyles()
swui680mi.dll!SwMultiTOXTabDialog::CreateExample_Hdl()
swui680mi.dll!SwMultiTOXTabDialog::LinkStubCreateExample_Hdl()

In CopyFmtArr() the cast from
SwTxtFmtColl* pDstColl = (SwTxtFmtColl*)pDest;
to
((SwConditionTxtFmtColl*)pDstColl)->SetConditions()
fails only with the lithuanian resource. If you change the lithuanian
translation of the string STR_POOLCOLL_LABEL_FRAME in
sw/source/ui/utlui/poolfmt.src everything is OK.

I think it is a name clash between the FmtName and the resource string:
        FmtName         resource
de:     Textkoerper     Text
en-US:  Text body       Text
lt:     Tekstas         Tekstas

I hope this helps to locate the problem.


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