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





------- Additional comments from [EMAIL PROTECTED] Tue Nov 11 15:00:40 +0000 
2008 -------
X && Y || Z
binds operator precedence-wise as
(X && Y) || Z
not
X && (Y || Z)

so I am a little suspicious about...

svx/source/unodraw/UnoGraphicExporter.cxx

where we have...
if ( rSettings.mnWidth && rSettings.mnHeight && ( rSettings.mnWidth !=
aSizePixel.Width() ) || ( rSettings.mnHeight != aSizePixel.Height() ) )

i.e. 
same as 
if ( (rSettings.mnWidth && rSettings.mnHeight && ( rSettings.mnWidth !=
aSizePixel.Width() )) || ( rSettings.mnHeight != aSizePixel.Height() ) )

I suspect we mean...

if (
    rSettings.mnWidth && rSettings.mnHeight &&
    (
     (rSettings.mnWidth != aSizePixel.Width()) || 
     (rSettings.mnHeight != aSizePixel.Height())
    )
   )

if so, patch attached will make that change

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