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
79943fac
Kaydet (Commit)
79943fac
authored
Eki 17, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#706591 Uncaught exception
Change-Id: I9b705664c3814aea5c433526ad147a8ab11c2d0f
üst
0c0c77af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
XZipFileAccess.idl
offapi/com/sun/star/packages/zip/XZipFileAccess.idl
+3
-3
zipfileaccess.hxx
package/inc/zipfileaccess.hxx
+2
-1
zipfileaccess.cxx
package/source/zippackage/zipfileaccess.cxx
+1
-1
No files found.
offapi/com/sun/star/packages/zip/XZipFileAccess.idl
Dosyayı görüntüle @
79943fac
...
...
@@ -23,8 +23,7 @@
#
include
<
com
/
sun
/
star
/
io
/
XInputStream
.
idl>
#
include
<
com
/
sun
/
star
/
io
/
IOException
.
idl>
#
include
<
com
/
sun
/
star
/
uno
/
XInterface
.
idl>
#
include
<
com
/
sun
/
star
/
packages
/
zip
/
ZipException
.
idl>
module
com
{
module
sun
{
module
star
{
module
packages
{
module
zip
{
...
...
@@ -45,7 +44,8 @@ interface XZipFileAccess: ::com::sun::star::uno::XInterface
*/
::
com
::
sun
::
star
::
io
::
XInputStream
getStreamByPattern
(
[
in
]
string
aPattern
)
raises
(
::
com
::
sun
::
star
::
container
::
NoSuchElementException
,
::
com
::
sun
::
star
::
io
::
IOException
)
;
::
com
::
sun
::
star
::
io
::
IOException
,
::
com
::
sun
::
star
::
packages
::
zip
::
ZipException
)
;
}
;
...
...
package/inc/zipfileaccess.hxx
Dosyayı görüntüle @
79943fac
...
...
@@ -21,6 +21,7 @@
#define INCLUDED_PACKAGE_INC_ZIPFILEACCESS_HXX
#include <com/sun/star/packages/zip/XZipFileAccess2.hpp>
#include <com/sun/star/packages/zip/ZipException.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
...
...
@@ -81,7 +82,7 @@ public:
virtual
sal_Bool
SAL_CALL
hasElements
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
// XZipFileAccess
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
SAL_CALL
getStreamByPattern
(
const
OUString
&
aPattern
)
throw
(
::
com
::
sun
::
star
::
container
::
NoSuchElementException
,
::
com
::
sun
::
star
::
io
::
IOException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>
SAL_CALL
getStreamByPattern
(
const
OUString
&
aPattern
)
throw
(
::
com
::
sun
::
star
::
container
::
NoSuchElementException
,
::
com
::
sun
::
star
::
io
::
IOException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
css
::
packages
::
zip
::
ZipException
,
std
::
exception
)
SAL_OVERRIDE
;
// XComponent
virtual
void
SAL_CALL
dispose
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
...
...
package/source/zippackage/zipfileaccess.cxx
Dosyayı görüntüle @
79943fac
...
...
@@ -358,7 +358,7 @@ sal_Bool SAL_CALL OZipFileAccess::hasElements()
// XZipFileAccess
uno
::
Reference
<
io
::
XInputStream
>
SAL_CALL
OZipFileAccess
::
getStreamByPattern
(
const
OUString
&
aPatternString
)
throw
(
container
::
NoSuchElementException
,
io
::
IOException
,
io
::
IOException
,
packages
::
zip
::
ZipException
,
uno
::
RuntimeException
,
std
::
exception
)
{
::
osl
::
MutexGuard
aGuard
(
m_aMutexHolder
->
GetMutex
()
);
...
...
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