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
ade5624f
Kaydet (Commit)
ade5624f
authored
Eyl 17, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
All INetMIMEOutputSink instances use same fixed ctor arg values
Change-Id: I49126732be307b80270843c147d9cce4b3fdd2a3
üst
bfff96fe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
inetmime.hxx
include/tools/inetmime.hxx
+2
-6
inetmime.cxx
tools/source/inet/inetmime.cxx
+2
-4
inetmsg.cxx
tools/source/inet/inetmsg.cxx
+1
-1
No files found.
include/tools/inetmime.hxx
Dosyayı görüntüle @
ade5624f
...
@@ -88,8 +88,6 @@ typedef std::unordered_map<OString, INetContentTypeParameter, OStringHash>
...
@@ -88,8 +88,6 @@ typedef std::unordered_map<OString, INetContentTypeParameter, OStringHash>
class
TOOLS_DLLPUBLIC
INetMIME
class
TOOLS_DLLPUBLIC
INetMIME
{
{
public
:
public
:
enum
{
SOFT_LINE_LENGTH_LIMIT
=
76
};
/** The various types of message header field bodies, with respect to
/** The various types of message header field bodies, with respect to
encoding and decoding them.
encoding and decoding them.
...
@@ -666,10 +664,8 @@ private:
...
@@ -666,10 +664,8 @@ private:
const
sal_Unicode
*
pEnd
);
const
sal_Unicode
*
pEnd
);
public
:
public
:
INetMIMEOutputSink
(
INetMIMEOutputSink
()
:
sal_uInt32
nTheColumn
=
0
,
m_nColumn
(
0
),
m_nLineLengthLimit
(
NO_LINE_LENGTH_LIMIT
)
{}
sal_uInt32
nTheLineLengthLimit
=
INetMIME
::
SOFT_LINE_LENGTH_LIMIT
)
:
m_nColumn
(
nTheColumn
),
m_nLineLengthLimit
(
nTheLineLengthLimit
)
{}
/** Get the current column.
/** Get the current column.
...
...
tools/source/inet/inetmime.cxx
Dosyayı görüntüle @
ade5624f
...
@@ -861,8 +861,7 @@ sal_Unicode const * INetMIME::scanParameters(sal_Unicode const * pBegin,
...
@@ -861,8 +861,7 @@ sal_Unicode const * INetMIME::scanParameters(sal_Unicode const * pBegin,
}
}
if
(
pParameters
)
if
(
pParameters
)
{
{
INetMIMEOutputSink
INetMIMEOutputSink
aSink
;
aSink
(
0
,
INetMIMEOutputSink
::
NO_LINE_LENGTH_LIMIT
);
while
(
p
!=
pEnd
)
while
(
p
!=
pEnd
)
{
{
sal_uInt32
nChar
=
INetMIME
::
getUTF32Character
(
p
,
pEnd
);
sal_uInt32
nChar
=
INetMIME
::
getUTF32Character
(
p
,
pEnd
);
...
@@ -890,8 +889,7 @@ sal_Unicode const * INetMIME::scanParameters(sal_Unicode const * pBegin,
...
@@ -890,8 +889,7 @@ sal_Unicode const * INetMIME::scanParameters(sal_Unicode const * pBegin,
else
if
(
p
!=
pEnd
&&
*
p
==
'"'
)
else
if
(
p
!=
pEnd
&&
*
p
==
'"'
)
if
(
pParameters
)
if
(
pParameters
)
{
{
INetMIMEOutputSink
INetMIMEOutputSink
aSink
;
aSink
(
0
,
INetMIMEOutputSink
::
NO_LINE_LENGTH_LIMIT
);
bool
bInvalid
=
false
;
bool
bInvalid
=
false
;
for
(
++
p
;;)
for
(
++
p
;;)
{
{
...
...
tools/source/inet/inetmsg.cxx
Dosyayı görüntüle @
ade5624f
...
@@ -46,7 +46,7 @@ void INetMIMEMessage::SetHeaderField_Impl (
...
@@ -46,7 +46,7 @@ void INetMIMEMessage::SetHeaderField_Impl (
const
OUString
&
rValue
,
const
OUString
&
rValue
,
sal_uIntPtr
&
rnIndex
)
sal_uIntPtr
&
rnIndex
)
{
{
INetMIMEOutputSink
aSink
(
0
,
INetMIMEOutputSink
::
NO_LINE_LENGTH_LIMIT
)
;
INetMIMEOutputSink
aSink
;
INetMIME
::
writeHeaderFieldBody
(
INetMIME
::
writeHeaderFieldBody
(
aSink
,
eType
,
rValue
,
osl_getThreadTextEncoding
(),
false
);
aSink
,
eType
,
rValue
,
osl_getThreadTextEncoding
(),
false
);
SetHeaderField_Impl
(
SetHeaderField_Impl
(
...
...
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