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
71293087
Kaydet (Commit)
71293087
authored
Haz 19, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#707363 Uncaught exception
Change-Id: I0c61a0176bb108e8e42c56e6cdbfa342ffe2512f
üst
bf89444c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
writer.cxx
sw/source/filter/writer/writer.cxx
+12
-4
No files found.
sw/source/filter/writer/writer.cxx
Dosyayı görüntüle @
71293087
...
@@ -245,10 +245,18 @@ sal_uLong Writer::Write( SwPaM& rPaM, SvStream& rStrm, const OUString* pFName )
...
@@ -245,10 +245,18 @@ sal_uLong Writer::Write( SwPaM& rPaM, SvStream& rStrm, const OUString* pFName )
{
{
if
(
IsStgWriter
()
)
if
(
IsStgWriter
()
)
{
{
SotStorageRef
aRef
=
new
SotStorage
(
rStrm
);
sal_uLong
nResult
=
ERRCODE_ABORT
;
sal_uLong
nResult
=
Write
(
rPaM
,
*
aRef
,
pFName
);
try
if
(
nResult
==
ERRCODE_NONE
)
{
aRef
->
Commit
();
SotStorageRef
aRef
=
new
SotStorage
(
rStrm
);
nResult
=
Write
(
rPaM
,
*
aRef
,
pFName
);
if
(
nResult
==
ERRCODE_NONE
)
aRef
->
Commit
();
}
catch
(
const
css
::
ucb
::
ContentCreationException
&
e
)
{
SAL_WARN
(
"sw"
,
"SmFilterDetect::detect caught "
<<
e
.
Message
);
}
return
nResult
;
return
nResult
;
}
}
...
...
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