bool improvements
Change-Id: Ia8d1f04a78dfd1b7fd6a3bd1e23f643b4bb7911f
This commit is contained in:
@@ -279,7 +279,7 @@ bool StgEntry::Init()
|
|||||||
SetLeaf( STG_RIGHT, STG_FREE );
|
SetLeaf( STG_RIGHT, STG_FREE );
|
||||||
SetLeaf( STG_CHILD, STG_FREE );
|
SetLeaf( STG_CHILD, STG_FREE );
|
||||||
SetLeaf( STG_DATA, STG_EOF );
|
SetLeaf( STG_DATA, STG_EOF );
|
||||||
return sal_True;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static OUString ToUpperUnicode( const OUString & rStr )
|
static OUString ToUpperUnicode( const OUString & rStr )
|
||||||
|
@@ -1244,7 +1244,7 @@ void UCBStorageStream_Impl::PrepareCachedForReopen( StreamMode nMode )
|
|||||||
|
|
||||||
if ( nMode & STREAM_TRUNC )
|
if ( nMode & STREAM_TRUNC )
|
||||||
{
|
{
|
||||||
m_bSourceRead = 0; // usually it should be 0 already but just in case...
|
m_bSourceRead = false; // usually it should be 0 already but just in case...
|
||||||
|
|
||||||
if ( !m_aTempURL.isEmpty() )
|
if ( !m_aTempURL.isEmpty() )
|
||||||
{
|
{
|
||||||
|
@@ -649,7 +649,7 @@ void SAL_CALL OLESimpleStorage::dispose()
|
|||||||
m_xStream = uno::Reference< io::XStream >();
|
m_xStream = uno::Reference< io::XStream >();
|
||||||
m_xTempStream = uno::Reference< io::XStream >();
|
m_xTempStream = uno::Reference< io::XStream >();
|
||||||
|
|
||||||
m_bDisposed = sal_True;
|
m_bDisposed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user