summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 20:00:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:22 +0100
commit41b0357fb71844c9130e1222a15a4da1fa5866e5 (patch)
tree7eaf98c0cd2289b4a7201860d3e62d27375db849 /sot
parent2fd074b23fad94abcfafa52193c29985789cdb8a (diff)
bool improvements
Change-Id: Ia8d1f04a78dfd1b7fd6a3bd1e23f643b4bb7911f
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgelem.cxx2
-rw-r--r--sot/source/sdstor/ucbstorage.cxx2
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index 0b10719312e9..a2e1718639a4 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -279,7 +279,7 @@ bool StgEntry::Init()
SetLeaf( STG_RIGHT, STG_FREE );
SetLeaf( STG_CHILD, STG_FREE );
SetLeaf( STG_DATA, STG_EOF );
- return sal_True;
+ return true;
}
static OUString ToUpperUnicode( const OUString & rStr )
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 4c6e4ef85e9b..ec0c48d742e0 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -1244,7 +1244,7 @@ void UCBStorageStream_Impl::PrepareCachedForReopen( StreamMode nMode )
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() )
{
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx
index b2d14402f4b4..3fe6aa5f91ed 100644
--- a/sot/source/unoolestorage/xolesimplestorage.cxx
+++ b/sot/source/unoolestorage/xolesimplestorage.cxx
@@ -649,7 +649,7 @@ void SAL_CALL OLESimpleStorage::dispose()
m_xStream = uno::Reference< io::XStream >();
m_xTempStream = uno::Reference< io::XStream >();
- m_bDisposed = sal_True;
+ m_bDisposed = true;
}
// --------------------------------------------------------------------------------