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
9d4d7272
Kaydet (Commit)
9d4d7272
authored
Ock 13, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
force users of ReadByteStringLine to explictly denote encoding
üst
d3bda969
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
impedit4.cxx
editeng/source/editeng/impedit4.cxx
+2
-2
stream.hxx
tools/inc/tools/stream.hxx
+0
-1
No files found.
editeng/source/editeng/impedit4.cxx
Dosyayı görüntüle @
9d4d7272
...
...
@@ -132,13 +132,13 @@ EditPaM ImpEditEngine::ReadText( SvStream& rInput, EditSelection aSel )
EditPaM
aPaM
=
aSel
.
Max
();
XubString
aTmpStr
,
aStr
;
sal_Bool
bDone
=
rInput
.
ReadByteStringLine
(
aTmpStr
);
sal_Bool
bDone
=
rInput
.
ReadByteStringLine
(
aTmpStr
,
rInput
.
GetStreamCharSet
()
);
while
(
bDone
)
{
aTmpStr
.
Erase
(
MAXCHARSINPARA
);
aPaM
=
ImpInsertText
(
EditSelection
(
aPaM
,
aPaM
),
aTmpStr
);
aPaM
=
ImpInsertParaBreak
(
aPaM
);
bDone
=
rInput
.
ReadByteStringLine
(
aTmpStr
);
bDone
=
rInput
.
ReadByteStringLine
(
aTmpStr
,
rInput
.
GetStreamCharSet
()
);
}
return
aPaM
;
}
...
...
tools/inc/tools/stream.hxx
Dosyayı görüntüle @
9d4d7272
...
...
@@ -384,7 +384,6 @@ public:
sal_Bool
WriteLines
(
const
ByteString
&
rStr
);
sal_Bool
ReadByteStringLine
(
String
&
rStr
,
rtl_TextEncoding
eSrcCharSet
);
sal_Bool
ReadByteStringLine
(
String
&
rStr
)
{
return
ReadByteStringLine
(
rStr
,
GetStreamCharSet
());
}
sal_Bool
WriteByteStringLine
(
const
String
&
rStr
,
rtl_TextEncoding
eDestCharSet
);
sal_Bool
WriteByteStringLine
(
const
String
&
rStr
)
{
return
WriteByteStringLine
(
rStr
,
GetStreamCharSet
());
}
...
...
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