diff options
author | Ocke Janssen <oj@openoffice.org> | 2000-12-12 06:21:29 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2000-12-12 06:21:29 +0000 |
commit | f00df71f1b2f8b901becfb26a6d0e61dbf50e15a (patch) | |
tree | 8b081978770947be57db60af852761e7581333cc /connectivity/source/inc/file/FTable.hxx | |
parent | 1c8bd3d0b11de0c96bc178a1242c7d451ffc0c55 (diff) |
merger
Diffstat (limited to 'connectivity/source/inc/file/FTable.hxx')
-rw-r--r-- | connectivity/source/inc/file/FTable.hxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/connectivity/source/inc/file/FTable.hxx b/connectivity/source/inc/file/FTable.hxx index 4bc5851a4be2..fad0bd596772 100644 --- a/connectivity/source/inc/file/FTable.hxx +++ b/connectivity/source/inc/file/FTable.hxx @@ -2,9 +2,9 @@ * * $RCSfile: FTable.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: oj $ $Date: 2000-11-27 08:00:25 $ + * last change: $Author: oj $ $Date: 2000-12-12 07:21:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -94,9 +94,11 @@ namespace connectivity OConnection* m_pConnection; SvStream* m_pFileStream; ::vos::ORef<OSQLColumns> m_aColumns; + sal_Int32 m_nFilePos; // aktuelle FilePosition sal_uInt8* m_pBuffer; sal_uInt16 m_nBufferSize; // Groesse des ReadBuffer, wenn pBuffer != NULL - sal_Int32 m_nFilePos; // aktuelle FilePosition + sal_Bool m_bWriteable; // svstream cann't say if we are writeable + // so we have to virtual void FileClose(); public: @@ -154,7 +156,8 @@ namespace connectivity ::rtl::OUString SAL_CALL getName() { return m_Name; } ::rtl::OUString getSchema() { return m_SchemaName; } - sal_Bool isReadOnly() const { return m_pFileStream && (m_pFileStream->GetStreamMode() & STREAM_READWRITE) != STREAM_READWRITE; } + sal_Bool isReadOnly() const { return m_bWriteable; } + // m_pFileStream && !m_pFileStream->IsWritable(); } // com::sun::star::lang::XUnoTunnel virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException); static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId(); |