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
0317d53f
Kaydet (Commit)
0317d53f
authored
Tem 21, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#707209 Uncaught exception
Change-Id: I876e25678d68cba09099776bf303a6540761d2ed
üst
10e0de4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
fsstorage.cxx
svl/source/fsstor/fsstorage.cxx
+10
-11
No files found.
svl/source/fsstor/fsstorage.cxx
Dosyayı görüntüle @
0317d53f
...
...
@@ -1034,18 +1034,18 @@ uno::Sequence< OUString > SAL_CALL FSStorage::getElementNames()
if
(
!
m_pImpl
)
throw
lang
::
DisposedException
();
if
(
!
GetContent
()
)
throw
io
::
IOException
();
// TODO: error handling
uno
::
Sequence
<
OUString
>
aProps
(
1
);
aProps
[
0
]
=
"Title"
;
::
ucbhelper
::
ResultSetInclude
eInclude
=
::
ucbhelper
::
INCLUDE_FOLDERS_AND_DOCUMENTS
;
uno
::
Sequence
<
OUString
>
aResult
;
sal_Int32
nSize
=
0
;
try
{
if
(
!
GetContent
()
)
throw
io
::
IOException
();
// TODO: error handling
uno
::
Sequence
<
OUString
>
aProps
(
1
);
aProps
[
0
]
=
"Title"
;
::
ucbhelper
::
ResultSetInclude
eInclude
=
::
ucbhelper
::
INCLUDE_FOLDERS_AND_DOCUMENTS
;
sal_Int32
nSize
=
0
;
uno
::
Reference
<
sdbc
::
XResultSet
>
xResultSet
=
GetContent
()
->
createCursor
(
aProps
,
eInclude
);
uno
::
Reference
<
ucb
::
XContentAccess
>
xContentAccess
(
xResultSet
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
sdbc
::
XRow
>
xRow
(
xResultSet
,
uno
::
UNO_QUERY
);
...
...
@@ -1072,11 +1072,11 @@ uno::Sequence< OUString > SAL_CALL FSStorage::getElementNames()
aCaught
);
}
}
catch
(
uno
::
RuntimeException
&
)
catch
(
const
uno
::
RuntimeException
&
)
{
throw
;
}
catch
(
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
)
{
uno
::
Any
aCaught
(
::
cppu
::
getCaughtException
()
);
throw
lang
::
WrappedTargetRuntimeException
(
"Can not open storage!"
,
...
...
@@ -1087,7 +1087,6 @@ uno::Sequence< OUString > SAL_CALL FSStorage::getElementNames()
return
aResult
;
}
sal_Bool
SAL_CALL
FSStorage
::
hasByName
(
const
OUString
&
aName
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
...
...
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