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
5e3a4ecb
Kaydet (Commit)
5e3a4ecb
authored
May 17, 2012
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
catch by const reference
Change-Id: I80a26483c4ecd099a1cfe76bdac1e97b947ef104
üst
9902f0ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
AppControllerDnD.cxx
dbaccess/source/ui/app/AppControllerDnD.cxx
+1
-1
DbAdminImpl.cxx
dbaccess/source/ui/dlg/DbAdminImpl.cxx
+4
-4
UserAdmin.cxx
dbaccess/source/ui/dlg/UserAdmin.cxx
+2
-2
No files found.
dbaccess/source/ui/app/AppControllerDnD.cxx
Dosyayı görüntüle @
5e3a4ecb
...
...
@@ -283,7 +283,7 @@ void OApplicationController::deleteObjects( ElementType _eType, const ::std::vec
{
showError
(
SQLExceptionInfo
(
::
cppu
::
getCaughtException
()
)
);
}
catch
(
WrappedTargetException
&
e
)
catch
(
const
WrappedTargetException
&
e
)
{
SQLException
aSql
;
if
(
e
.
TargetException
>>=
aSql
)
...
...
dbaccess/source/ui/dlg/DbAdminImpl.cxx
Dosyayı görüntüle @
5e3a4ecb
...
...
@@ -386,9 +386,9 @@ void ODbDataSourceAdministrationHelper::clearPassword()
aRet
.
first
=
getDriver
()
->
connect
(
getConnectionURL
(),
aConnectionParams
);
aRet
.
second
=
sal_True
;
}
catch
(
SQLContext
&
e
)
{
aErrorInfo
=
SQLExceptionInfo
(
e
);
}
catch
(
SQLWarning
&
e
)
{
aErrorInfo
=
SQLExceptionInfo
(
e
);
}
catch
(
SQLException
&
e
)
{
aErrorInfo
=
SQLExceptionInfo
(
e
);
}
catch
(
const
SQLContext
&
e
)
{
aErrorInfo
=
SQLExceptionInfo
(
e
);
}
catch
(
const
SQLWarning
&
e
)
{
aErrorInfo
=
SQLExceptionInfo
(
e
);
}
catch
(
const
SQLException
&
e
)
{
aErrorInfo
=
SQLExceptionInfo
(
e
);
}
showError
(
aErrorInfo
,
m_pParent
,
getORB
());
}
...
...
@@ -415,7 +415,7 @@ Reference< XDriver > ODbDataSourceAdministrationHelper::getDriver(const ::rtl::O
xDriverManager
=
Reference
<
XDriverAccess
>
(
getORB
()
->
createInstance
(
SERVICE_SDBC_CONNECTIONPOOL
),
UNO_QUERY
);
OSL_ENSURE
(
xDriverManager
.
is
(),
"ODbDataSourceAdministrationHelper::getDriver: could not instantiate the driver manager, or it does not provide the necessary interface!"
);
}
catch
(
Exception
&
e
)
catch
(
const
Exception
&
e
)
{
// wrap the exception into an SQLException
SQLException
aSQLWrapper
(
e
.
Message
,
getORB
(),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"S1000"
)),
0
,
Any
());
...
...
dbaccess/source/ui/dlg/UserAdmin.cxx
Dosyayı görüntüle @
5e3a4ecb
...
...
@@ -277,7 +277,7 @@ IMPL_LINK( OUserAdmin, UserHdl, PushButton *, pButton )
}
FillUserNames
();
}
catch
(
SQLException
&
e
)
catch
(
const
SQLException
&
e
)
{
::
dbaui
::
showError
(
::
dbtools
::
SQLExceptionInfo
(
e
),
this
,
m_xORB
);
return
0
;
...
...
@@ -340,7 +340,7 @@ void OUserAdmin::implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue)
}
FillUserNames
();
}
catch
(
SQLException
&
e
)
catch
(
const
SQLException
&
e
)
{
::
dbaui
::
showError
(
::
dbtools
::
SQLExceptionInfo
(
e
),
this
,
m_xORB
);
}
...
...
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