Kaydet (Commit) 01fe7b72 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

bool improvements

Change-Id: I80dfcb60878d9e280e8a03297ccc4833277c235d
üst 8fd7a53d
......@@ -90,7 +90,7 @@ uno::Any SAL_CALL OInputCompStream::queryInterface( const uno::Type& rType )
, static_cast<beans::XPropertySet*> ( this )
, static_cast<embed::XExtendedStorageStream*> ( this ) );
if ( aReturn.hasValue() == sal_True )
if ( aReturn.hasValue() )
return aReturn ;
if ( m_nStorageType == embed::StorageFormats::OFOPXML )
......@@ -99,7 +99,7 @@ uno::Any SAL_CALL OInputCompStream::queryInterface( const uno::Type& rType )
( rType
, static_cast<embed::XRelationshipAccess*> ( this ) );
if ( aReturn.hasValue() == sal_True )
if ( aReturn.hasValue() )
return aReturn ;
}
......
......@@ -86,7 +86,7 @@ uno::Any SAL_CALL OInputSeekStream::queryInterface( const uno::Type& rType )
uno::Any aReturn( ::cppu::queryInterface( rType,
static_cast< io::XSeekable* >( this ) ) );
if ( aReturn.hasValue() == sal_True )
if ( aReturn.hasValue() )
{
return aReturn ;
}
......
......@@ -1890,7 +1890,7 @@ uno::Any SAL_CALL OWriteStream::queryInterface( const uno::Type& rType )
, static_cast<lang::XComponent*> ( this )
, static_cast<beans::XPropertySet*> ( this ) );
if ( aReturn.hasValue() == sal_True )
if ( aReturn.hasValue() )
return aReturn ;
if ( m_pData->m_nStorageType == embed::StorageFormats::PACKAGE )
......@@ -1907,7 +1907,7 @@ uno::Any SAL_CALL OWriteStream::queryInterface( const uno::Type& rType )
, static_cast<embed::XRelationshipAccess*> ( this ) );
}
if ( aReturn.hasValue() == sal_True )
if ( aReturn.hasValue() )
return aReturn ;
if ( m_bTransacted )
......@@ -1917,7 +1917,7 @@ uno::Any SAL_CALL OWriteStream::queryInterface( const uno::Type& rType )
, static_cast<embed::XTransactedObject*> ( this )
, static_cast<embed::XTransactionBroadcaster*> ( this ) );
if ( aReturn.hasValue() == sal_True )
if ( aReturn.hasValue() )
return aReturn ;
}
......
......@@ -2204,7 +2204,7 @@ uno::Any SAL_CALL OStorage::queryInterface( const uno::Type& rType )
, static_cast<beans::XPropertySet*> ( this )
, static_cast<embed::XOptimizedStorage*> ( this ) );
if ( aReturn.hasValue() == sal_True )
if ( aReturn.hasValue() )
return aReturn ;
aReturn <<= ::cppu::queryInterface
......@@ -2212,7 +2212,7 @@ uno::Any SAL_CALL OStorage::queryInterface( const uno::Type& rType )
, static_cast<embed::XHierarchicalStorageAccess*> ( this )
, static_cast<embed::XHierarchicalStorageAccess2*> ( this ) );
if ( aReturn.hasValue() == sal_True )
if ( aReturn.hasValue() )
return aReturn ;
if ( m_pData->m_nStorageType == embed::StorageFormats::PACKAGE )
......@@ -2240,7 +2240,7 @@ uno::Any SAL_CALL OStorage::queryInterface( const uno::Type& rType )
, static_cast<embed::XRelationshipAccess*> ( this ) );
}
if ( aReturn.hasValue() == sal_True )
if ( aReturn.hasValue() )
return aReturn ;
return OWeakObject::queryInterface( rType );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment