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
e2f062ef
Kaydet (Commit)
e2f062ef
authored
Ock 09, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
force users of horrific ReadUniOrByteStringLine to provide the charset
üst
b2b318cc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
7 deletions
+5
-7
difimp.cxx
sc/source/filter/dif/difimp.cxx
+2
-2
impex.cxx
sc/source/ui/docshell/impex.cxx
+1
-1
stream.hxx
tools/inc/tools/stream.hxx
+0
-2
stream.cxx
tools/source/stream/stream.cxx
+2
-2
No files found.
sc/source/filter/dif/difimp.cxx
Dosyayı görüntüle @
e2f062ef
...
...
@@ -452,7 +452,7 @@ bool DifParser::ReadNextLine( String& rStr )
{
if
(
aLookAheadLine
.
Len
()
==
0
)
{
return
rIn
.
ReadUniOrByteStringLine
(
rStr
);
return
rIn
.
ReadUniOrByteStringLine
(
rStr
,
rIn
.
GetStreamCharSet
()
);
}
else
{
...
...
@@ -470,7 +470,7 @@ bool DifParser::LookAhead()
bool
bValidStructure
=
false
;
OSL_ENSURE
(
aLookAheadLine
.
Len
()
==
0
,
"*DifParser::LookAhead(): LookAhead called twice in a row"
);
rIn
.
ReadUniOrByteStringLine
(
aLookAheadLine
);
rIn
.
ReadUniOrByteStringLine
(
aLookAheadLine
,
rIn
.
GetStreamCharSet
()
);
pAktBuffer
=
aLookAheadLine
.
GetBuffer
();
...
...
sc/source/ui/docshell/impex.cxx
Dosyayı görüntüle @
e2f062ef
...
...
@@ -788,7 +788,7 @@ sal_Bool ScImportExport::Text2Doc( SvStream& rStrm )
rStrm
.
Seek
(
nOldPos
);
for
(
;;
)
{
rStrm
.
ReadUniOrByteStringLine
(
aLine
);
rStrm
.
ReadUniOrByteStringLine
(
aLine
,
rStrm
.
GetStreamCharSet
()
);
if
(
rStrm
.
IsEof
()
)
break
;
SCCOL
nCol
=
nStartCol
;
...
...
tools/inc/tools/stream.hxx
Dosyayı görüntüle @
e2f062ef
...
...
@@ -416,8 +416,6 @@ public:
/// Read a line of Unicode if eSrcCharSet==RTL_TEXTENCODING_UNICODE,
/// otherwise read a line of Bytecode and convert from eSrcCharSet
sal_Bool
ReadUniOrByteStringLine
(
String
&
rStr
,
rtl_TextEncoding
eSrcCharSet
);
sal_Bool
ReadUniOrByteStringLine
(
String
&
rStr
)
{
return
ReadUniOrByteStringLine
(
rStr
,
GetStreamCharSet
()
);
}
/// Write a sequence of Unicode characters
sal_Bool
WriteUnicodeText
(
const
String
&
rStr
);
/// Write a sequence of Unicode characters if eDestCharSet==RTL_TEXTENCODING_UNICODE,
...
...
tools/source/stream/stream.cxx
Dosyayı görüntüle @
e2f062ef
...
...
@@ -1041,7 +1041,7 @@ sal_Bool SvStream::ReadCsvLine( String& rStr, sal_Bool bEmbeddedLineBreak,
const
String
&
rFieldSeparators
,
sal_Unicode
cFieldQuote
,
sal_Bool
bAllowBackslashEscape
)
{
ReadUniOrByteStringLine
(
rStr
);
ReadUniOrByteStringLine
(
rStr
,
GetStreamCharSet
()
);
if
(
bEmbeddedLineBreak
)
{
...
...
@@ -1096,7 +1096,7 @@ sal_Bool SvStream::ReadCsvLine( String& rStr, sal_Bool bEmbeddedLineBreak,
{
nLastOffset
=
rStr
.
Len
();
String
aNext
;
ReadUniOrByteStringLine
(
aNext
);
ReadUniOrByteStringLine
(
aNext
,
GetStreamCharSet
()
);
rStr
+=
sal_Unicode
(
_LF
);
rStr
+=
aNext
;
}
...
...
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