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
67cba3af
Kaydet (Commit)
67cba3af
authored
Agu 31, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#707318 Uncaught exception
Change-Id: Ib2d4b2e6c4df70da1d8a4b5bf39f69efea45ad5e
üst
3fa329f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
swdetect.cxx
sw/source/ui/uno/swdetect.cxx
+12
-5
No files found.
sw/source/ui/uno/swdetect.cxx
Dosyayı görüntüle @
67cba3af
...
...
@@ -86,12 +86,19 @@ OUString SAL_CALL SwFilterDetect::detect( Sequence< PropertyValue >& lDescriptor
if
(
pInStrm
->
remainingSize
()
==
0
)
return
OUString
();
SotStorageRef
aStorage
=
new
SotStorage
(
pInStrm
,
false
);
if
(
!
aStorage
->
GetError
()
)
try
{
bIsDetected
=
aStorage
->
IsContained
(
"WordDocument"
);
if
(
bIsDetected
&&
aTypeName
.
startsWith
(
"writer_MS_Word_97"
)
)
bIsDetected
=
(
aStorage
->
IsContained
(
"0Table"
)
||
aStorage
->
IsContained
(
"1Table"
)
);
SotStorageRef
aStorage
=
new
SotStorage
(
pInStrm
,
false
);
if
(
!
aStorage
->
GetError
()
)
{
bIsDetected
=
aStorage
->
IsContained
(
"WordDocument"
);
if
(
bIsDetected
&&
aTypeName
.
startsWith
(
"writer_MS_Word_97"
)
)
bIsDetected
=
(
aStorage
->
IsContained
(
"0Table"
)
||
aStorage
->
IsContained
(
"1Table"
)
);
}
}
catch
(...)
{
bIsDetected
=
false
;
}
}
...
...
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