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
36c64c87
Kaydet (Commit)
36c64c87
authored
Tem 03, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Ugly workaround for historic sxw files produced once by libwpd/wpd2sxw
Change-Id: I2d22c12896b241d79ded723acb0a6753cc1468ee
üst
9a9b8f0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
swdetect.cxx
sw/source/ui/uno/swdetect.cxx
+6
-2
No files found.
sw/source/ui/uno/swdetect.cxx
Dosyayı görüntüle @
36c64c87
...
...
@@ -116,7 +116,7 @@ OUString SAL_CALL SwFilterDetect::detect( Sequence< PropertyValue >& lDescriptor
lDescriptor
[
nProperty
].
Value
>>=
sTemp
;
aURL
=
sTemp
;
}
else
if
(
!
aURL
.
Len
()
&&
lDescriptor
[
nProperty
].
Name
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"FileName"
))
)
else
if
(
!
aURL
.
Len
()
&&
lDescriptor
[
nProperty
].
Name
==
"FileName"
)
{
lDescriptor
[
nProperty
].
Value
>>=
sTemp
;
aURL
=
sTemp
;
...
...
@@ -241,7 +241,11 @@ OUString SAL_CALL SwFilterDetect::detect( Sequence< PropertyValue >& lDescriptor
}
catch
(
const
WrappedTargetException
&
aWrap
)
{
if
(
!
bDeepDetection
)
/* Cater for non-compliant sxw files created once upon a time by old libwpd/wpd2sxw combo
Don't bail-out early if the document is considered as corrupted. This allows us not to
reach the -- apparently -- catch-all SmFilterDetect::detect.
*/
if
(
!
bDeepDetection
&&
aTypeName
!=
"writer_StarOffice_XML_Writer"
)
// Bail out early unless it's a deep detection.
return
OUString
();
...
...
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