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
769423a4
Kaydet (Commit)
769423a4
authored
Haz 14, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused decodeUTF8
üst
057dda42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
inetmime.hxx
tools/inc/tools/inetmime.hxx
+0
-3
inetmime.cxx
tools/source/inet/inetmime.cxx
+0
-19
No files found.
tools/inc/tools/inetmime.hxx
Dosyayı görüntüle @
769423a4
...
@@ -614,9 +614,6 @@ public:
...
@@ -614,9 +614,6 @@ public:
rtl_TextEncoding
eEncoding
,
rtl_TextEncoding
eEncoding
,
sal_uInt32
&
rCharacter
);
sal_uInt32
&
rCharacter
);
static
ByteString
decodeUTF8
(
const
ByteString
&
rText
,
rtl_TextEncoding
eEncoding
);
static
UniString
decodeHeaderFieldBody
(
HeaderFieldType
eType
,
static
UniString
decodeHeaderFieldBody
(
HeaderFieldType
eType
,
const
ByteString
&
rBody
);
const
ByteString
&
rBody
);
...
...
tools/source/inet/inetmime.cxx
Dosyayı görüntüle @
769423a4
...
@@ -3054,25 +3054,6 @@ bool INetMIME::translateUTF8Char(const sal_Char *& rBegin,
...
@@ -3054,25 +3054,6 @@ bool INetMIME::translateUTF8Char(const sal_Char *& rBegin,
return
true
;
return
true
;
}
}
//============================================================================
// static
ByteString
INetMIME
::
decodeUTF8
(
const
ByteString
&
rText
,
rtl_TextEncoding
eEncoding
)
{
const
sal_Char
*
p
=
rText
.
GetBuffer
();
const
sal_Char
*
pEnd
=
p
+
rText
.
Len
();
ByteString
sDecoded
;
while
(
p
!=
pEnd
)
{
sal_uInt32
nCharacter
=
0
;
if
(
translateUTF8Char
(
p
,
pEnd
,
eEncoding
,
nCharacter
))
sDecoded
+=
sal_Char
(
nCharacter
);
else
sDecoded
+=
sal_Char
(
*
p
++
);
}
return
sDecoded
;
}
//============================================================================
//============================================================================
// static
// static
UniString
INetMIME
::
decodeHeaderFieldBody
(
HeaderFieldType
eType
,
UniString
INetMIME
::
decodeHeaderFieldBody
(
HeaderFieldType
eType
,
...
...
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