summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/util
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 10:28:36 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 10:28:36 +0000
commit0bce2e3837001c5608c8ca0c16251a6290a6edca (patch)
treeda78e276edf3999c23bd2fb934675afca78e13c2 /xmlhelp/source/cxxhelp/util
parent2ea0e264c96e71fe8e2b62a7029b7344a1ec7f04 (diff)
INTEGRATION: CWS sb59 (1.7.12); FILE MERGED
2006/08/30 11:10:28 sb 1.7.12.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'xmlhelp/source/cxxhelp/util')
-rw-r--r--xmlhelp/source/cxxhelp/util/IndexAccessor.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlhelp/source/cxxhelp/util/IndexAccessor.cxx b/xmlhelp/source/cxxhelp/util/IndexAccessor.cxx
index e00914fe6050..b3e020a4c21e 100644
--- a/xmlhelp/source/cxxhelp/util/IndexAccessor.cxx
+++ b/xmlhelp/source/cxxhelp/util/IndexAccessor.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: IndexAccessor.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 01:20:56 $
+ * last change: $Author: obo $ $Date: 2006-10-12 11:28:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -134,8 +134,8 @@ RandomAccessStreamImpl::RandomAccessStreamImpl( const rtl::OUString& aPath,const
else if( bla[i] == sal_Unicode( 'c' ) )
flags |= Create;
}
-
- if( !( isOpen_ = ( file_.open( flags ) == osl::FileBase::E_None )) )
+ isOpen_ = ( file_.open( flags ) == osl::FileBase::E_None );
+ if( !isOpen_ )
{
file_.close();
OSL_ENSURE( false,"RandomAccessStreamImpl::RandomAccessStreamImpl -> could not open file" );