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
4f1787a5
Kaydet (Commit)
4f1787a5
authored
Haz 16, 2014
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ADO driver: don't pretend to implement an interface one does not
Change-Id: I6234974cfc1b7650a35b8f7b9a4132acf797c91b
üst
59accebd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
22 deletions
+4
-22
APreparedStatement.cxx
connectivity/source/drivers/ado/APreparedStatement.cxx
+1
-16
APreparedStatement.hxx
connectivity/source/inc/ado/APreparedStatement.hxx
+3
-6
No files found.
connectivity/source/drivers/ado/APreparedStatement.cxx
Dosyayı görüntüle @
4f1787a5
...
...
@@ -98,7 +98,6 @@ Any SAL_CALL OPreparedStatement::queryInterface( const Type & rType ) throw(Runt
return
aRet
.
hasValue
()
?
aRet
:
::
cppu
::
queryInterface
(
rType
,
static_cast
<
XPreparedStatement
*>
(
this
),
static_cast
<
XParameters
*>
(
this
),
static_cast
<
XPreparedBatchExecution
*>
(
this
),
static_cast
<
XResultSetMetaDataSupplier
*>
(
this
));
}
...
...
@@ -106,8 +105,7 @@ Any SAL_CALL OPreparedStatement::queryInterface( const Type & rType ) throw(Runt
{
::
cppu
::
OTypeCollection
aTypes
(
cppu
::
UnoType
<
XPreparedStatement
>::
get
(),
cppu
::
UnoType
<
XParameters
>::
get
(),
cppu
::
UnoType
<
XResultSetMetaDataSupplier
>::
get
(),
cppu
::
UnoType
<
XPreparedBatchExecution
>::
get
());
cppu
::
UnoType
<
XResultSetMetaDataSupplier
>::
get
());
return
::
comphelper
::
concatSequences
(
aTypes
.
getTypes
(),
OStatement_Base
::
getTypes
());
}
...
...
@@ -446,19 +444,6 @@ void SAL_CALL OPreparedStatement::clearParameters( ) throw(SQLException, Runtim
}
}
void
SAL_CALL
OPreparedStatement
::
clearBatch
(
)
throw
(
SQLException
,
RuntimeException
)
{
}
void
SAL_CALL
OPreparedStatement
::
addBatch
(
)
throw
(
SQLException
,
RuntimeException
)
{
}
Sequence
<
sal_Int32
>
SAL_CALL
OPreparedStatement
::
executeBatch
(
)
throw
(
SQLException
,
RuntimeException
)
{
return
Sequence
<
sal_Int32
>
();
}
void
SAL_CALL
OPreparedStatement
::
acquire
()
throw
()
{
OStatement_Base
::
acquire
();
...
...
connectivity/source/inc/ado/APreparedStatement.hxx
Dosyayı görüntüle @
4f1787a5
...
...
@@ -24,10 +24,12 @@
#include <com/sun/star/sdbc/XPreparedStatement.hpp>
#include <com/sun/star/sdbc/XParameters.hpp>
#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
#include <com/sun/star/sdbc/XPreparedBatchExecution.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
// TODO: implement ::com::sun::star::sdbc::XPreparedBatchExecution
// (empty implementations removed on 2014-06-16)
namespace
connectivity
{
class
OSQLParseNode
;
...
...
@@ -37,7 +39,6 @@ namespace connectivity
class
OPreparedStatement
:
public
OStatement_Base
,
public
::
com
::
sun
::
star
::
sdbc
::
XPreparedStatement
,
public
::
com
::
sun
::
star
::
sdbc
::
XParameters
,
public
::
com
::
sun
::
star
::
sdbc
::
XPreparedBatchExecution
,
public
::
com
::
sun
::
star
::
sdbc
::
XResultSetMetaDataSupplier
,
public
::
com
::
sun
::
star
::
lang
::
XServiceInfo
...
...
@@ -97,10 +98,6 @@ namespace connectivity
virtual
void
SAL_CALL
setClob
(
sal_Int32
parameterIndex
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XClob
>&
x
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
setArray
(
sal_Int32
parameterIndex
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XArray
>&
x
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
clearParameters
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// XPreparedBatchExecution
virtual
void
SAL_CALL
addBatch
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
clearBatch
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int32
>
SAL_CALL
executeBatch
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// XCloseable
virtual
void
SAL_CALL
close
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// XResultSetMetaDataSupplier
...
...
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