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
bfb45c2b
Kaydet (Commit)
bfb45c2b
authored
Haz 10, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove ugly and unused WriteUniOrByteStringLines
üst
548181a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
stream.hxx
tools/inc/tools/stream.hxx
+1
-6
stream.cxx
tools/source/stream/stream.cxx
+0
-8
No files found.
tools/inc/tools/stream.hxx
Dosyayı görüntüle @
bfb45c2b
...
@@ -495,12 +495,7 @@ public:
...
@@ -495,12 +495,7 @@ public:
sal_Bool
WriteUniOrByteStringLine
(
const
String
&
rStr
,
rtl_TextEncoding
eDestCharSet
);
sal_Bool
WriteUniOrByteStringLine
(
const
String
&
rStr
,
rtl_TextEncoding
eDestCharSet
);
sal_Bool
WriteUniOrByteStringLine
(
const
String
&
rStr
)
sal_Bool
WriteUniOrByteStringLine
(
const
String
&
rStr
)
{
return
WriteUniOrByteStringLine
(
rStr
,
GetStreamCharSet
()
);
}
{
return
WriteUniOrByteStringLine
(
rStr
,
GetStreamCharSet
()
);
}
/// Write multiple lines of Unicode if eDestCharSet==RTL_TEXTENCODING_UNICODE,
/// otherwise write multiple lines of Bytecode converted to eDestCharSet,
/// CovertLineEnd is applied.
sal_Bool
WriteUniOrByteStringLines
(
const
String
&
rStr
,
rtl_TextEncoding
eDestCharSet
);
sal_Bool
WriteUniOrByteStringLines
(
const
String
&
rStr
)
{
return
WriteUniOrByteStringLines
(
rStr
,
GetStreamCharSet
()
);
}
/// Write a Unicode character if eDestCharSet==RTL_TEXTENCODING_UNICODE,
/// Write a Unicode character if eDestCharSet==RTL_TEXTENCODING_UNICODE,
/// otherwise write as Bytecode converted to eDestCharSet.
/// otherwise write as Bytecode converted to eDestCharSet.
/// This may result in more than one byte being written
/// This may result in more than one byte being written
...
...
tools/source/stream/stream.cxx
Dosyayı görüntüle @
bfb45c2b
...
@@ -974,14 +974,6 @@ sal_Bool SvStream::WriteUniStringLines( const String& rStr )
...
@@ -974,14 +974,6 @@ sal_Bool SvStream::WriteUniStringLines( const String& rStr )
return
nError
==
SVSTREAM_OK
;
return
nError
==
SVSTREAM_OK
;
}
}
sal_Bool
SvStream
::
WriteUniOrByteStringLines
(
const
String
&
rStr
,
rtl_TextEncoding
eDestCharSet
)
{
if
(
eDestCharSet
==
RTL_TEXTENCODING_UNICODE
)
return
WriteUniStringLines
(
rStr
);
else
return
WriteByteStringLines
(
rStr
,
eDestCharSet
);
}
/*************************************************************************
/*************************************************************************
|*
|*
|* Stream::WriteUniOrByteChar()
|* Stream::WriteUniOrByteChar()
...
...
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