To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96111
                 Issue #|96111
                 Summary|sw: ambiguous && ||
               Component|Word processor
                 Version|DEV300m35
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|ama
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Tue Nov 11 16:07:38 +0000 
2008 -------
This one looks definitely wrong.

in sw/source/ui/docvw/edtwin.cxx we have

if(pACorr &&
    ( pACorr->IsAutoCorrFlag( ChgQuotes ) && ('\"' == aCh ))||
    ( pACorr->IsAutoCorrFlag( ChgSglQuotes ) && ( '\'' == aCh)))

which means

if( (pACorr &&
    ( pACorr->IsAutoCorrFlag( ChgQuotes ) && ('\"' == aCh ))) ||
    ( pACorr->IsAutoCorrFlag( ChgSglQuotes ) && ( '\'' == aCh)))

i.e. if pACorr is null we will try and execute pACorr->IsAutoCorrFlag(
ChgSglQuotes )

I suspect we mean

if (
    pACorr &&
    (
     (pACorr->IsAutoCorrFlag(ChgQuotes) && ('\"' == aCh)) ||
     (pACorr->IsAutoCorrFlag(ChgSglQuotes) && ('\'' == aCh))
    )
   )

patch attached to do that

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