Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
c8aecb0b
Kaydet (Commit)
c8aecb0b
authored
Kas 16, 2000
tarafından
Ocke Janssen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#80273# use of ucbstreamhelper
üst
2ecb5e5f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
71 additions
and
64 deletions
+71
-64
DTable.cxx
connectivity/source/drivers/dbase/DTable.cxx
+0
-0
makefile.mk
connectivity/source/drivers/dbase/makefile.mk
+3
-2
FTable.cxx
connectivity/source/drivers/file/FTable.cxx
+6
-5
ETable.cxx
connectivity/source/drivers/flat/ETable.cxx
+55
-50
DTable.hxx
connectivity/source/inc/dbase/DTable.hxx
+3
-3
FTable.hxx
connectivity/source/inc/file/FTable.hxx
+4
-4
No files found.
connectivity/source/drivers/dbase/DTable.cxx
Dosyayı görüntüle @
c8aecb0b
This diff is collapsed.
Click to expand it.
connectivity/source/drivers/dbase/makefile.mk
Dosyayı görüntüle @
c8aecb0b
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
#
#
# $RCSfile: makefile.mk,v $
# $RCSfile: makefile.mk,v $
#
#
# $Revision: 1.
7
$
# $Revision: 1.
8
$
#
#
# last change: $Author: oj $ $Date: 2000-1
0-24 16:14:04
$
# last change: $Author: oj $ $Date: 2000-1
1-16 10:44:29
$
#
#
# The Contents of this file are made available subject to the terms of
# The Contents of this file are made available subject to the terms of
# either of the following licenses
# either of the following licenses
...
@@ -136,6 +136,7 @@ SHL1STDLIBS=\
...
@@ -136,6 +136,7 @@ SHL1STDLIBS=\
$(UCBHELPERLIB)
\
$(UCBHELPERLIB)
\
$(SALLIB)
\
$(SALLIB)
\
$(DBTOOLSLIB)
\
$(DBTOOLSLIB)
\
$(UNOTOOLSLIB)
\
$(COMPHELPERLIB)
$(COMPHELPERLIB)
.IF
"$(COMPHELPERLIB)"
==
""
.IF
"$(COMPHELPERLIB)"
==
""
...
...
connectivity/source/drivers/file/FTable.cxx
Dosyayı görüntüle @
c8aecb0b
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: FTable.cxx,v $
* $RCSfile: FTable.cxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: oj $ $Date: 2000-11-
03 14:14:00
$
* last change: $Author: oj $ $Date: 2000-11-
16 10:43:21
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -199,10 +199,11 @@ void OFileTable::FileClose()
...
@@ -199,10 +199,11 @@ void OFileTable::FileClose()
{
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
if
(
m_
aFileStream
.
IsOpen
()
&&
m_aFileStream
.
IsWritable
())
if
(
m_
pFileStream
&&
m_pFileStream
->
IsWritable
())
m_
aFileStream
.
Flush
();
m_
pFileStream
->
Flush
();
m_aFileStream
.
Close
();
delete
m_pFileStream
;
m_pFileStream
=
NULL
;
if
(
m_pBuffer
)
if
(
m_pBuffer
)
{
{
...
...
connectivity/source/drivers/flat/ETable.cxx
Dosyayı görüntüle @
c8aecb0b
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: ETable.cxx,v $
* $RCSfile: ETable.cxx,v $
*
*
* $Revision: 1.
9
$
* $Revision: 1.
10
$
*
*
* last change: $Author: oj $ $Date: 2000-11-
07 13:21:41
$
* last change: $Author: oj $ $Date: 2000-11-
16 10:45:19
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -135,6 +135,9 @@
...
@@ -135,6 +135,9 @@
#ifndef _COMPHELPER_TYPES_HXX_
#ifndef _COMPHELPER_TYPES_HXX_
#include <comphelper/types.hxx>
#include <comphelper/types.hxx>
#endif
#endif
#ifndef _UNTOOLS_UCBSTREAMHELPER_HXX
#include <unotools/ucbstreamhelper.hxx>
#endif
using
namespace
connectivity
;
using
namespace
connectivity
;
using
namespace
connectivity
::
flat
;
using
namespace
connectivity
::
flat
;
...
@@ -282,20 +285,20 @@ void OFlatTable::fillColumns()
...
@@ -282,20 +285,20 @@ void OFlatTable::fillColumns()
{
{
while
(
bRead
&&
!
aHeaderLine
.
Len
())
while
(
bRead
&&
!
aHeaderLine
.
Len
())
{
{
bRead
=
m_
aFileStream
.
ReadLine
(
aHeaderLine
);
bRead
=
m_
pFileStream
->
ReadLine
(
aHeaderLine
);
}
}
}
}
// read first row
// read first row
OFlatString
aFirstLine
;
OFlatString
aFirstLine
;
bRead
=
m_
aFileStream
.
ReadLine
(
aFirstLine
);
bRead
=
m_
pFileStream
->
ReadLine
(
aFirstLine
);
if
(
!
pConnection
->
isHeaderLine
()
||
!
aHeaderLine
.
Len
())
if
(
!
pConnection
->
isHeaderLine
()
||
!
aHeaderLine
.
Len
())
{
{
while
(
bRead
&&
!
aFirstLine
.
Len
())
while
(
bRead
&&
!
aFirstLine
.
Len
())
{
{
bRead
=
m_
aFileStream
.
ReadLine
(
aFirstLine
);
bRead
=
m_
pFileStream
->
ReadLine
(
aFirstLine
);
}
}
// use first row as headerline because we need the number of columns
// use first row as headerline because we need the number of columns
aHeaderLine
=
aFirstLine
;
aHeaderLine
=
aFirstLine
;
...
@@ -464,7 +467,7 @@ void OFlatTable::fillColumns()
...
@@ -464,7 +467,7 @@ void OFlatTable::fillColumns()
Reference
<
XPropertySet
>
xCol
=
pColumn
;
Reference
<
XPropertySet
>
xCol
=
pColumn
;
m_aColumns
->
push_back
(
xCol
);
m_aColumns
->
push_back
(
xCol
);
}
}
m_
aFileStream
.
Seek
(
STREAM_SEEK_TO_BEGIN
);
m_
pFileStream
->
Seek
(
STREAM_SEEK_TO_BEGIN
);
}
}
// -------------------------------------------------------------------------
// -------------------------------------------------------------------------
OFlatTable
::
OFlatTable
(
OFlatConnection
*
_pConnection
)
:
OFlatTable_BASE
(
_pConnection
)
OFlatTable
::
OFlatTable
(
OFlatConnection
*
_pConnection
)
:
OFlatTable_BASE
(
_pConnection
)
...
@@ -504,26 +507,28 @@ OFlatTable::OFlatTable(OFlatConnection* _pConnection,
...
@@ -504,26 +507,28 @@ OFlatTable::OFlatTable(OFlatConnection* _pConnection,
m_xNumberFormatter
->
attachNumberFormatsSupplier
(
xSupplier
);
m_xNumberFormatter
->
attachNumberFormatsSupplier
(
xSupplier
);
INetURLObject
aURL
;
INetURLObject
aURL
;
aURL
.
SetSmartProtocol
(
INET_PROT_FILE
);
aURL
.
SetURL
(
getEntry
());
aURL
.
SetSmartURL
(
getEntry
(),
INetURLObject
::
ENCODE_ALL
);
if
(
aURL
.
getExtension
()
!=
m_pConnection
->
getExtension
())
if
(
aURL
.
getExtension
()
!=
m_pConnection
->
getExtension
())
aURL
.
setExtension
(
m_pConnection
->
getExtension
());
aURL
.
setExtension
(
m_pConnection
->
getExtension
());
// Content aContent(aURL.GetMainURL());
// Content aContent(aURL.GetMainURL());
m_aFileStream
.
Open
(
aURL
.
getFSysPath
(
INetURLObject
::
FSYS_DETECT
),
STREAM_READ
|
STREAM_NOCREATE
|
STREAM_SHARE_DENYWRITE
);
String
aFileName
=
aURL
.
GetURLNoPass
();
if
(
!
m_aFileStream
.
IsOpen
())
m_aFileStream
.
Open
(
aURL
.
getFSysPath
(
INetURLObject
::
FSYS_DETECT
),
STREAM_READ
|
STREAM_NOCREATE
|
STREAM_SHARE_DENYNONE
);
m_pFileStream
=
::
utl
::
UcbStreamHelper
::
CreateStream
(
aFileName
,
STREAM_READWRITE
|
STREAM_NOCREATE
|
STREAM_SHARE_DENYWRITE
);
if
(
!
m_pFileStream
)
m_pFileStream
=
::
utl
::
UcbStreamHelper
::
CreateStream
(
aFileName
,
STREAM_READ
|
STREAM_NOCREATE
|
STREAM_SHARE_DENYNONE
);
if
(
m_
aFileStream
.
IsOpen
()
)
if
(
m_
pFileStream
)
{
{
m_
aFileStream
.
Seek
(
STREAM_SEEK_TO_END
);
m_
pFileStream
->
Seek
(
STREAM_SEEK_TO_END
);
sal_Int32
nSize
=
m_
aFileStream
.
Tell
();
sal_Int32
nSize
=
m_
pFileStream
->
Tell
();
m_
aFileStream
.
Seek
(
STREAM_SEEK_TO_BEGIN
);
m_
pFileStream
->
Seek
(
STREAM_SEEK_TO_BEGIN
);
// Buffersize abhaengig von der Filegroesse
// Buffersize abhaengig von der Filegroesse
m_
aFileStream
.
SetBufferSize
(
nSize
>
1000000
?
32768
:
m_
pFileStream
->
SetBufferSize
(
nSize
>
1000000
?
32768
:
nSize
>
100000
?
16384
:
nSize
>
100000
?
16384
:
nSize
>
10000
?
4096
:
1024
);
nSize
>
10000
?
4096
:
1024
);
...
@@ -659,12 +664,12 @@ sal_Bool OFlatTable::checkHeaderLine()
...
@@ -659,12 +664,12 @@ sal_Bool OFlatTable::checkHeaderLine()
BOOL
bRead2
;
BOOL
bRead2
;
do
do
{
{
bRead2
=
m_
aFileStream
.
ReadLine
(
m_aCurrentLine
);
bRead2
=
m_
pFileStream
->
ReadLine
(
m_aCurrentLine
);
}
}
while
(
bRead2
&&
!
m_aCurrentLine
.
Len
());
while
(
bRead2
&&
!
m_aCurrentLine
.
Len
());
m_nFilePos
=
m_
aFileStream
.
Tell
();
m_nFilePos
=
m_
pFileStream
->
Tell
();
if
(
m_
aFileStream
.
IsEof
())
if
(
m_
pFileStream
->
IsEof
())
return
sal_False
;
return
sal_False
;
}
}
return
sal_True
;
return
sal_True
;
...
@@ -688,8 +693,8 @@ sal_Bool OFlatTable::seekRow(FilePosition eCursorPosition, sal_Int32 nOffset, sa
...
@@ -688,8 +693,8 @@ sal_Bool OFlatTable::seekRow(FilePosition eCursorPosition, sal_Int32 nOffset, sa
case
FILE_NEXT
:
case
FILE_NEXT
:
if
(
eCursorPosition
!=
FILE_FIRST
)
if
(
eCursorPosition
!=
FILE_FIRST
)
++
m_nRowPos
;
++
m_nRowPos
;
m_
aFileStream
.
Seek
(
m_nFilePos
);
m_
pFileStream
->
Seek
(
m_nFilePos
);
if
(
m_
aFileStream
.
IsEof
()
||
!
checkHeaderLine
())
if
(
m_
pFileStream
->
IsEof
()
||
!
checkHeaderLine
())
{
{
m_nMaxRowCount
=
m_nRowPos
;
m_nMaxRowCount
=
m_nRowPos
;
return
sal_False
;
return
sal_False
;
...
@@ -697,26 +702,26 @@ sal_Bool OFlatTable::seekRow(FilePosition eCursorPosition, sal_Int32 nOffset, sa
...
@@ -697,26 +702,26 @@ sal_Bool OFlatTable::seekRow(FilePosition eCursorPosition, sal_Int32 nOffset, sa
m_aRowToFilePos
[
m_nRowPos
]
=
m_nFilePos
;
m_aRowToFilePos
[
m_nRowPos
]
=
m_nFilePos
;
m_
aFileStream
.
ReadLine
(
m_aCurrentLine
);
m_
pFileStream
->
ReadLine
(
m_aCurrentLine
);
if
(
m_
aFileStream
.
IsEof
())
if
(
m_
pFileStream
->
IsEof
())
{
{
m_nMaxRowCount
=
m_nRowPos
;
m_nMaxRowCount
=
m_nRowPos
;
return
sal_False
;
return
sal_False
;
}
}
nCurPos
=
m_
aFileStream
.
Tell
();
nCurPos
=
m_
pFileStream
->
Tell
();
break
;
break
;
case
FILE_PRIOR
:
case
FILE_PRIOR
:
--
m_nRowPos
;
--
m_nRowPos
;
if
(
m_nRowPos
>
0
)
if
(
m_nRowPos
>
0
)
{
{
m_nFilePos
=
m_aRowToFilePos
.
find
(
m_nRowPos
)
->
second
;
m_nFilePos
=
m_aRowToFilePos
.
find
(
m_nRowPos
)
->
second
;
m_
aFileStream
.
Seek
(
m_nFilePos
);
m_
pFileStream
->
Seek
(
m_nFilePos
);
if
(
m_
aFileStream
.
IsEof
()
||
!
checkHeaderLine
())
if
(
m_
pFileStream
->
IsEof
()
||
!
checkHeaderLine
())
return
sal_False
;
return
sal_False
;
m_
aFileStream
.
ReadLine
(
m_aCurrentLine
);
m_
pFileStream
->
ReadLine
(
m_aCurrentLine
);
if
(
m_
aFileStream
.
IsEof
())
if
(
m_
pFileStream
->
IsEof
())
return
sal_False
;
return
sal_False
;
nCurPos
=
m_
aFileStream
.
Tell
();
nCurPos
=
m_
pFileStream
->
Tell
();
}
}
else
else
m_nRowPos
=
0
;
m_nRowPos
=
0
;
...
@@ -729,13 +734,13 @@ sal_Bool OFlatTable::seekRow(FilePosition eCursorPosition, sal_Int32 nOffset, sa
...
@@ -729,13 +734,13 @@ sal_Bool OFlatTable::seekRow(FilePosition eCursorPosition, sal_Int32 nOffset, sa
{
{
m_nFilePos
=
m_aRowToFilePos
.
rbegin
()
->
second
;
m_nFilePos
=
m_aRowToFilePos
.
rbegin
()
->
second
;
m_nRowPos
=
m_aRowToFilePos
.
rbegin
()
->
first
;
m_nRowPos
=
m_aRowToFilePos
.
rbegin
()
->
first
;
m_
aFileStream
.
Seek
(
m_nFilePos
);
m_
pFileStream
->
Seek
(
m_nFilePos
);
if
(
m_
aFileStream
.
IsEof
()
||
!
checkHeaderLine
())
if
(
m_
pFileStream
->
IsEof
()
||
!
checkHeaderLine
())
return
sal_False
;
return
sal_False
;
m_
aFileStream
.
ReadLine
(
m_aCurrentLine
);
m_
pFileStream
->
ReadLine
(
m_aCurrentLine
);
if
(
m_
aFileStream
.
IsEof
())
if
(
m_
pFileStream
->
IsEof
())
return
sal_False
;
return
sal_False
;
nCurPos
=
m_
aFileStream
.
Tell
();
nCurPos
=
m_
pFileStream
->
Tell
();
}
}
else
else
{
{
...
@@ -764,13 +769,13 @@ sal_Bool OFlatTable::seekRow(FilePosition eCursorPosition, sal_Int32 nOffset, sa
...
@@ -764,13 +769,13 @@ sal_Bool OFlatTable::seekRow(FilePosition eCursorPosition, sal_Int32 nOffset, sa
if
(
aIter
!=
m_aRowToFilePos
.
end
())
if
(
aIter
!=
m_aRowToFilePos
.
end
())
{
{
m_nFilePos
=
aIter
->
second
;
m_nFilePos
=
aIter
->
second
;
m_
aFileStream
.
Seek
(
m_nFilePos
);
m_
pFileStream
->
Seek
(
m_nFilePos
);
if
(
m_
aFileStream
.
IsEof
()
||
!
checkHeaderLine
())
if
(
m_
pFileStream
->
IsEof
()
||
!
checkHeaderLine
())
return
sal_False
;
return
sal_False
;
m_
aFileStream
.
ReadLine
(
m_aCurrentLine
);
m_
pFileStream
->
ReadLine
(
m_aCurrentLine
);
if
(
m_
aFileStream
.
IsEof
())
if
(
m_
pFileStream
->
IsEof
())
return
sal_False
;
return
sal_False
;
nCurPos
=
m_
aFileStream
.
Tell
();
nCurPos
=
m_
pFileStream
->
Tell
();
}
}
else
if
(
m_nMaxRowCount
&&
nOffset
>
m_nMaxRowCount
)
// offset is outside the table
else
if
(
m_nMaxRowCount
&&
nOffset
>
m_nMaxRowCount
)
// offset is outside the table
{
{
...
@@ -792,28 +797,28 @@ sal_Bool OFlatTable::seekRow(FilePosition eCursorPosition, sal_Int32 nOffset, sa
...
@@ -792,28 +797,28 @@ sal_Bool OFlatTable::seekRow(FilePosition eCursorPosition, sal_Int32 nOffset, sa
--
aIter
;
--
aIter
;
m_nRowPos
=
aIter
->
first
;
m_nRowPos
=
aIter
->
first
;
m_nFilePos
=
aIter
->
second
;
m_nFilePos
=
aIter
->
second
;
m_
aFileStream
.
Seek
(
m_nFilePos
);
m_
pFileStream
->
Seek
(
m_nFilePos
);
if
(
m_
aFileStream
.
IsEof
()
||
!
checkHeaderLine
())
if
(
m_
pFileStream
->
IsEof
()
||
!
checkHeaderLine
())
return
sal_False
;
return
sal_False
;
m_
aFileStream
.
ReadLine
(
m_aCurrentLine
);
m_
pFileStream
->
ReadLine
(
m_aCurrentLine
);
if
(
m_
aFileStream
.
IsEof
())
if
(
m_
pFileStream
->
IsEof
())
return
sal_False
;
return
sal_False
;
nCurPos
=
m_
aFileStream
.
Tell
();
nCurPos
=
m_
pFileStream
->
Tell
();
}
}
}
}
}
}
break
;
break
;
case
FILE_BOOKMARK
:
case
FILE_BOOKMARK
:
m_
aFileStream
.
Seek
(
nOffset
);
m_
pFileStream
->
Seek
(
nOffset
);
if
(
m_
aFileStream
.
IsEof
())
if
(
m_
pFileStream
->
IsEof
())
return
sal_False
;
return
sal_False
;
m_nFilePos
=
m_
aFileStream
.
Tell
();
// Byte-Position in der Datei merken (am ZeilenANFANG)
m_nFilePos
=
m_
pFileStream
->
Tell
();
// Byte-Position in der Datei merken (am ZeilenANFANG)
m_
aFileStream
.
ReadLine
(
m_aCurrentLine
);
m_
pFileStream
->
ReadLine
(
m_aCurrentLine
);
if
(
m_
aFileStream
.
IsEof
())
if
(
m_
pFileStream
->
IsEof
())
return
sal_False
;
return
sal_False
;
nCurPos
=
m_
aFileStream
.
Tell
();
nCurPos
=
m_
pFileStream
->
Tell
();
break
;
break
;
}
}
...
...
connectivity/source/inc/dbase/DTable.hxx
Dosyayı görüntüle @
c8aecb0b
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: DTable.hxx,v $
* $RCSfile: DTable.hxx,v $
*
*
* $Revision: 1.
7
$
* $Revision: 1.
8
$
*
*
* last change: $Author: oj $ $Date: 2000-11-
03 13:53:38
$
* last change: $Author: oj $ $Date: 2000-11-
16 10:47:23
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -132,7 +132,7 @@ namespace connectivity
...
@@ -132,7 +132,7 @@ namespace connectivity
DBFHeader
m_aHeader
;
DBFHeader
m_aHeader
;
DBFMemoHeader
m_aMemoHeader
;
DBFMemoHeader
m_aMemoHeader
;
Sv
FileStream
m_a
MemoStream
;
Sv
Stream
*
m_p
MemoStream
;
void
readHeader
();
void
readHeader
();
void
fillColumns
();
void
fillColumns
();
...
...
connectivity/source/inc/file/FTable.hxx
Dosyayı görüntüle @
c8aecb0b
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: FTable.hxx,v $
* $RCSfile: FTable.hxx,v $
*
*
* $Revision: 1.
5
$
* $Revision: 1.
6
$
*
*
* last change: $Author: oj $ $Date: 2000-11-
03 13:49:39
$
* last change: $Author: oj $ $Date: 2000-11-
16 10:45:43
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -92,7 +92,7 @@ namespace connectivity
...
@@ -92,7 +92,7 @@ namespace connectivity
protected
:
protected
:
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XDatabaseMetaData
>
m_xMetaData
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XDatabaseMetaData
>
m_xMetaData
;
OConnection
*
m_pConnection
;
OConnection
*
m_pConnection
;
Sv
FileStream
m_a
FileStream
;
Sv
Stream
*
m_p
FileStream
;
::
vos
::
ORef
<
OSQLColumns
>
m_aColumns
;
::
vos
::
ORef
<
OSQLColumns
>
m_aColumns
;
sal_uInt8
*
m_pBuffer
;
sal_uInt8
*
m_pBuffer
;
sal_uInt16
m_nBufferSize
;
// Groesse des ReadBuffer, wenn pBuffer != NULL
sal_uInt16
m_nBufferSize
;
// Groesse des ReadBuffer, wenn pBuffer != NULL
...
@@ -154,7 +154,7 @@ namespace connectivity
...
@@ -154,7 +154,7 @@ namespace connectivity
::
rtl
::
OUString
SAL_CALL
getName
()
{
return
m_Name
;
}
::
rtl
::
OUString
SAL_CALL
getName
()
{
return
m_Name
;
}
::
rtl
::
OUString
getSchema
()
{
return
m_SchemaName
;
}
::
rtl
::
OUString
getSchema
()
{
return
m_SchemaName
;
}
sal_Bool
isReadOnly
()
const
{
return
m_
aFileStream
.
IsOpen
()
&&
(
m_aFileStream
.
GetStreamMode
()
&
STREAM_READWRITE
)
!=
STREAM_READWRITE
;
}
sal_Bool
isReadOnly
()
const
{
return
m_
pFileStream
&&
(
m_pFileStream
->
GetStreamMode
()
&
STREAM_READWRITE
)
!=
STREAM_READWRITE
;
}
// com::sun::star::lang::XUnoTunnel
// 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
);
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
();
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
getUnoTunnelImplementationId
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment