To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=110801
                 Issue #|110801
                 Summary|package: werror in owriteablestream.cxx (parentheses a
                        |round '&&' within '||')
               Component|xml
                 Version|DEV300m76
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|jsi
             Reported by|cloph





------- Additional comments from cl...@openoffice.org Mon Apr 12 10:34:15 +0000 
2010 -------
this is a follow-up to the only-halfway fixed issue 103617 
Only one occurrence of the && clarification parentheses was fixed, not the one 
in the next line.

I wonder how QA could set that other issue to verified :-/

/ooo/build/compile/package/source/xstor/owriteablestream.cxx: In member 
function 
'virtual com::sun::star::uno::Any OWriteStream::getPropertyValue(const 
rtl::OUString&)':
/ooo/build/compile/package/source/xstor/owriteablestream.cxx:3282: error: 
suggest parentheses around '&&' within '||'
dmake:  Error code 1, while making '../../unxlngi6.pro/slo/owriteablestream.obj'

Patch keeping meaning, silencing the warning

--- package/source/xstor/owriteablestream.cxx       2010-04-10 
01:17:35.214512099 +0200
+++ package/source/xstor/owriteablestream.cxx        2010-04-12 
14:31:04.863492747 +0200
@@ -3279,7 +3279,7 @@
 
        if ( ( ( m_pData->m_nStorageType == PACKAGE_STORAGE || m_pData-
>m_nStorageType == OFOPXML_STORAGE )
                        && aPropertyName.equalsAscii( "MediaType" ) )
-         || m_pData->m_nStorageType == PACKAGE_STORAGE && 
aPropertyName.equalsAscii( "Encrypted" )
+         || ( m_pData->m_nStorageType == PACKAGE_STORAGE && 
aPropertyName.equalsAscii( "Encrypted" ) )
          || aPropertyName.equalsAscii( "Compressed" ) )
        {
                m_pImpl->GetStreamProperties();

---------------------------------------------------------------------
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: issues-unsubscr...@xml.openoffice.org
For additional commands, e-mail: issues-h...@xml.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to