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
03ce32c4
Kaydet (Commit)
03ce32c4
authored
Tem 13, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: actually remove INetContentTypes::GetExtension
üst
b272991c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
inettype.cxx
svl/source/misc/inettype.cxx
+0
-19
No files found.
svl/source/misc/inettype.cxx
Dosyayı görüntüle @
03ce32c4
...
@@ -942,25 +942,6 @@ UniString INetContentTypes::GetPresentation(INetContentType eTypeID,
...
@@ -942,25 +942,6 @@ UniString INetContentTypes::GetPresentation(INetContentType eTypeID,
return
SvtSimpleResId
(
nResID
,
aLocale
);
return
SvtSimpleResId
(
nResID
,
aLocale
);
}
}
//============================================================================
//static
UniString
INetContentTypes
::
GetExtension
(
UniString
const
&
rTypeName
)
{
MediaTypeEntry
const
*
pEntry
=
seekEntry
(
rTypeName
,
aStaticTypeNameMap
,
CONTENT_TYPE_LAST
+
1
);
if
(
pEntry
)
return
UniString
::
CreateFromAscii
(
pEntry
->
m_pExtension
);
UniString
aExtension
=
Registration
::
GetExtension
(
rTypeName
);
if
(
aExtension
.
Len
()
!=
0
)
return
aExtension
;
// special handling of text types, which come in uncounted variations:
return
rTypeName
.
EqualsIgnoreCaseAscii
(
"text"
,
0
,
RTL_CONSTASCII_LENGTH
(
"text"
))
?
UniString
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"txt"
))
:
UniString
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"tmp"
));
}
//============================================================================
//============================================================================
//static
//static
INetContentType
INetContentTypes
::
GetContentType4Extension
(
UniString
const
&
INetContentType
INetContentTypes
::
GetContentType4Extension
(
UniString
const
&
...
...
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