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
b1661350
Kaydet (Commit)
b1661350
authored
Tem 13, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#983698 Uncaught exception
Change-Id: I3f597643c1f743314ca17346901f11dc4f1f7302
üst
dd9a1bae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
4 deletions
+25
-4
owriteablestream.cxx
package/source/xstor/owriteablestream.cxx
+25
-4
No files found.
package/source/xstor/owriteablestream.cxx
Dosyayı görüntüle @
b1661350
...
...
@@ -2587,12 +2587,33 @@ sal_Bool SAL_CALL OWriteStream::hasEncryptionData()
::
osl
::
ResettableMutexGuard
aGuard
(
m_pData
->
m_rSharedMutexRef
->
GetMutex
()
);
if
(
!
m_pImpl
)
return
sal_False
;
return
false
;
bool
bRet
=
false
;
bool
bRet
=
m_pImpl
->
IsEncrypted
();
try
{
bRet
=
m_pImpl
->
IsEncrypted
();
if
(
!
bRet
&&
m_pImpl
->
m_bUseCommonEncryption
&&
m_pImpl
->
m_pParent
)
bRet
=
m_pImpl
->
m_pParent
->
m_bHasCommonEncryptionData
;
if
(
!
bRet
&&
m_pImpl
->
m_bUseCommonEncryption
&&
m_pImpl
->
m_pParent
)
bRet
=
m_pImpl
->
m_pParent
->
m_bHasCommonEncryptionData
;
}
catch
(
const
uno
::
RuntimeException
&
rRuntimeException
)
{
m_pImpl
->
AddLog
(
rRuntimeException
.
Message
);
m_pImpl
->
AddLog
(
"Rethrow"
);
throw
;
}
catch
(
const
uno
::
Exception
&
rException
)
{
m_pImpl
->
AddLog
(
rException
.
Message
);
m_pImpl
->
AddLog
(
"Rethrow"
);
uno
::
Any
aCaught
(
::
cppu
::
getCaughtException
()
);
throw
lang
::
WrappedTargetRuntimeException
(
"Problems on hasEncryptionData!"
,
static_cast
<
::
cppu
::
OWeakObject
*
>
(
this
),
aCaught
);
}
return
bRet
;
}
...
...
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