diff options
author | Noel Grandin <noel@peralex.com> | 2012-09-27 11:20:55 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-10-02 14:57:21 +0200 |
commit | d5abaeb1614c65947c7c9674a319511b0450c357 (patch) | |
tree | 6590237ec28c283f0cd4638d72835e368317a94f /svl/source/fsstor/ostreamcontainer.cxx | |
parent | 2c270eeff422ef93100376ce0717a131d4f3cc2f (diff) |
sal_Bool->bool in svl::OFSInputStreamContainer and OFSStreamContainer
Also make OFSInputStreamContainer's member variables private,
there is no reason for them to be protected
Change-Id: Ic5717b5a3740e27adfc0ee55e7677a8727b8cbae
Diffstat (limited to 'svl/source/fsstor/ostreamcontainer.cxx')
-rw-r--r-- | svl/source/fsstor/ostreamcontainer.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svl/source/fsstor/ostreamcontainer.cxx b/svl/source/fsstor/ostreamcontainer.cxx index f439d8966498..081eb5986557 100644 --- a/svl/source/fsstor/ostreamcontainer.cxx +++ b/svl/source/fsstor/ostreamcontainer.cxx @@ -25,9 +25,9 @@ using namespace ::com::sun::star; //----------------------------------------------- OFSStreamContainer::OFSStreamContainer( const uno::Reference < io::XStream >& xStream ) -: m_bDisposed( sal_False ) -, m_bInputClosed( sal_False ) -, m_bOutputClosed( sal_False ) +: m_bDisposed( false ) +, m_bInputClosed( false ) +, m_bOutputClosed( false ) , m_pListenersContainer( NULL ) , m_pTypeCollection( NULL ) { @@ -261,13 +261,13 @@ void SAL_CALL OFSStreamContainer::dispose() if ( m_xInputStream.is() && !m_bInputClosed ) { m_xInputStream->closeInput(); - m_bInputClosed = sal_True; + m_bInputClosed = true; } if ( m_xOutputStream.is() && !m_bOutputClosed ) { m_xOutputStream->closeOutput(); - m_bOutputClosed = sal_True; + m_bOutputClosed = true; } if ( m_pListenersContainer ) @@ -276,7 +276,7 @@ void SAL_CALL OFSStreamContainer::dispose() m_pListenersContainer->disposeAndClear( aSource ); } - m_bDisposed = sal_True; + m_bDisposed = true; } //----------------------------------------------- @@ -448,7 +448,7 @@ void SAL_CALL OFSStreamContainer::closeInput() if ( m_xInputStream.is() ) { m_xInputStream->closeInput(); - m_bInputClosed = sal_True; + m_bInputClosed = true; } if ( m_bOutputClosed ) @@ -510,7 +510,7 @@ void SAL_CALL OFSStreamContainer::closeOutput() if ( m_xOutputStream.is() ) { m_xOutputStream->closeOutput(); - m_bOutputClosed = sal_True; + m_bOutputClosed = true; } if ( m_bInputClosed ) |