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
f4c082f9
Kaydet (Commit)
f4c082f9
authored
Ock 26, 2001
tarafından
Frank Schönheit
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
some more error error prone now ...
üst
20852bf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
genericcontroller.cxx
dbaccess/source/ui/browser/genericcontroller.cxx
+12
-4
No files found.
dbaccess/source/ui/browser/genericcontroller.cxx
Dosyayı görüntüle @
f4c082f9
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: genericcontroller.cxx,v $
* $RCSfile: genericcontroller.cxx,v $
*
*
* $Revision: 1.
3
$
* $Revision: 1.
4
$
*
*
* last change: $Author:
oj $ $Date: 2001-01-23 10:35:13
$
* last change: $Author:
fs $ $Date: 2001-01-26 14:15:24
$
*
*
* 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
...
@@ -796,16 +796,25 @@ sal_Bool SAL_CALL OGenericUnoController::supportsService(const ::rtl::OUString&
...
@@ -796,16 +796,25 @@ sal_Bool SAL_CALL OGenericUnoController::supportsService(const ::rtl::OUString&
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
Reference
<
XConnection
>
OGenericUnoController
::
connect
(
const
::
rtl
::
OUString
&
_rsDataSourceName
)
Reference
<
XConnection
>
OGenericUnoController
::
connect
(
const
::
rtl
::
OUString
&
_rsDataSourceName
)
{
{
Reference
<
XConnection
>
xConnection
;
Any
aValue
;
Any
aValue
;
try
try
{
{
aValue
=
m_xDatabaseContext
->
getByName
(
_rsDataSourceName
);
aValue
=
m_xDatabaseContext
->
getByName
(
_rsDataSourceName
);
}
}
catch
(
Exception
&
)
catch
(
Exception
&
)
{
}
{
}
Reference
<
XPropertySet
>
xProp
;
Reference
<
XPropertySet
>
xProp
;
aValue
>>=
xProp
;
aValue
>>=
xProp
;
if
(
!
xProp
.
is
())
{
DBG_ERROR
(
"OGenericUnoController::connect: coult not retrieve the data source!"
);
return
xConnection
;
}
::
rtl
::
OUString
sPwd
,
sUser
;
::
rtl
::
OUString
sPwd
,
sUser
;
sal_Bool
bPwdReq
=
sal_False
;
sal_Bool
bPwdReq
=
sal_False
;
try
try
...
@@ -819,7 +828,6 @@ Reference<XConnection> OGenericUnoController::connect(const ::rtl::OUString& _rs
...
@@ -819,7 +828,6 @@ Reference<XConnection> OGenericUnoController::connect(const ::rtl::OUString& _rs
DBG_ERROR
(
"SbaTableQueryBrowser::OnExpandEntry: error while retrieving data source properties!"
);
DBG_ERROR
(
"SbaTableQueryBrowser::OnExpandEntry: error while retrieving data source properties!"
);
}
}
Reference
<
XConnection
>
xConnection
;
// supports the service sdb::connection
SQLExceptionInfo
aInfo
;
SQLExceptionInfo
aInfo
;
try
try
{
{
...
...
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