To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108607
                 Issue #|108607
                 Summary|svx: ambiguous && || in svx/source/svdraw/svdoole2.cxx
               Component|Drawing
                 Version|DEV300m70
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mba
             Reported by|cmc





------- Additional comments from [email protected] Sat Jan 23 16:40:35 +0000 
2010 -------
svx/source/svdraw/svdoole2.cxx has 

if ( (nMiscStatus & embed::EmbedMisc::MS_EMBED_RECOMPOSEONRESIZE) &&
        svt::EmbeddedObjectRef::TryRunningState( xObjRef.GetObject() )
        || xObjRef->getCurrentState() == embed::EmbedStates::INPLACE_ACTIVE
        )

which the compiler parses as...

if ( ((nMiscStatus & embed::EmbedMisc::MS_EMBED_RECOMPOSEONRESIZE) &&
        svt::EmbeddedObjectRef::TryRunningState( xObjRef.GetObject() ))
        || xObjRef->getCurrentState() == embed::EmbedStates::INPLACE_ACTIVE
        )

which in this case I guess is what we want, right ?, i.e. not

if ( (nMiscStatus & embed::EmbedMisc::MS_EMBED_RECOMPOSEONRESIZE) &&
        (svt::EmbeddedObjectRef::TryRunningState( xObjRef.GetObject() )
        || xObjRef->getCurrentState() == embed::EmbedStates::INPLACE_ACTIVE)
        )

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