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
a558a8da
Kaydet (Commit)
a558a8da
authored
Eyl 13, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
can remove ByteString::Convert now
üst
7a16bd69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
36 deletions
+0
-36
string.hxx
tools/inc/tools/string.hxx
+0
-5
strcvt.cxx
tools/source/string/strcvt.cxx
+0
-31
No files found.
tools/inc/tools/string.hxx
Dosyayı görüntüle @
a558a8da
...
...
@@ -181,11 +181,6 @@ private:
// Append(char)
void
operator
+=
(
int
);
// not implemented; to detect misuses
// of operator +=(sal_Char)
ByteString
&
Convert
(
rtl_TextEncoding
eSource
,
rtl_TextEncoding
eTarget
,
sal_Bool
bReplace
=
sal_True
);
public
:
ByteString
();
ByteString
(
const
ByteString
&
rStr
);
...
...
tools/source/string/strcvt.cxx
Dosyayı görüntüle @
a558a8da
...
...
@@ -299,37 +299,6 @@ void ByteString::ImplStringConvert(
// =======================================================================
ByteString
&
ByteString
::
Convert
(
rtl_TextEncoding
eSource
,
rtl_TextEncoding
eTarget
,
sal_Bool
bReplace
)
{
DBG_CHKTHIS
(
ByteString
,
DbgCheckByteString
);
// rtl_TextEncoding Dontknow kann nicht konvertiert werden
if
(
(
eSource
==
RTL_TEXTENCODING_DONTKNOW
)
||
(
eTarget
==
RTL_TEXTENCODING_DONTKNOW
)
)
return
*
this
;
// Wenn Source und Target gleich sind, muss nicht konvertiert werden
if
(
eSource
==
eTarget
)
return
*
this
;
// rtl_TextEncoding Symbol nur nach Unicode oder von Unicode wandeln, ansonsten
// wollen wir die Zeichencodes beibehalten
if
(
(
eSource
==
RTL_TEXTENCODING_SYMBOL
)
&&
(
eTarget
!=
RTL_TEXTENCODING_UTF7
)
&&
(
eTarget
!=
RTL_TEXTENCODING_UTF8
)
)
return
*
this
;
if
(
(
eTarget
==
RTL_TEXTENCODING_SYMBOL
)
&&
(
eSource
!=
RTL_TEXTENCODING_UTF7
)
&&
(
eSource
!=
RTL_TEXTENCODING_UTF8
)
)
return
*
this
;
// Zeichensatz umwandeln
ImplStringConvert
(
eSource
,
eTarget
,
bReplace
);
return
*
this
;
}
// =======================================================================
ByteString
::
ByteString
(
const
rtl
::
OString
&
rStr
)
:
mpData
(
NULL
)
{
...
...
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