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
b1cae04c
Kaydet (Commit)
b1cae04c
authored
Ock 24, 2001
tarafından
Frank Schönheit
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#83078# return empty meta data instead of NULL
üst
18b4c0b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
RowSetBase.cxx
dbaccess/source/core/api/RowSetBase.cxx
+17
-4
No files found.
dbaccess/source/core/api/RowSetBase.cxx
Dosyayı görüntüle @
b1cae04c
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: RowSetBase.cxx,v $
*
* $Revision: 1.2
1
$
* $Revision: 1.2
2
$
*
* last change: $Author:
oj $ $Date: 2001-01-24 09:50:49
$
* last change: $Author:
fs $ $Date: 2001-01-24 11:02:14
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -100,6 +100,9 @@
#ifndef _DBHELPER_DBEXCEPTION_HXX_
#include <connectivity/dbexception.hxx>
#endif
#ifndef _CONNECTIVITY_EMPTYMETADATA_HXX_
#include <connectivity/emptymetadata.hxx>
#endif
using
namespace
dbaccess
;
using
namespace
connectivity
;
...
...
@@ -117,6 +120,12 @@ using namespace ::com::sun::star::util;
using
namespace
::
cppu
;
using
namespace
::
osl
;
namespace
dbaccess
{
// =========================================================================
// = OEmptyCollection
// =========================================================================
// -------------------------------------------------------------------------
class
OEmptyCollection
:
public
sdbcx
::
OCollection
{
...
...
@@ -135,6 +144,10 @@ protected:
public
:
OEmptyCollection
(
::
cppu
::
OWeakObject
&
_rParent
,
::
osl
::
Mutex
&
_rMutex
)
:
OCollection
(
_rParent
,
sal_True
,
_rMutex
,
::
std
::
vector
<
::
rtl
::
OUString
>
()){}
};
// =========================================================================
// = ORowSetBase
// =========================================================================
// -------------------------------------------------------------------------
ORowSetBase
::
ORowSetBase
(
::
cppu
::
OBroadcastHelper
&
_rBHelper
,
::
osl
::
Mutex
&
_rMutex
)
:
OPropertyContainer
(
_rBHelper
)
...
...
@@ -601,7 +614,7 @@ Reference< XResultSetMetaData > SAL_CALL ORowSetBase::getMetaData( ) throw(SQLE
if
(
m_pCache
)
return
m_pCache
->
getMetaData
();
return
NULL
;
return
new
OEmptyMetaData
()
;
}
// -------------------------------------------------------------------------
...
...
@@ -1235,4 +1248,4 @@ sal_Int32 ORowSetBase::assginFormatByType(sal_Bool _bCurrency,sal_Int32 _nType,c
// -----------------------------------------------------------------------------
}
// namespace dbaccess
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