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
c1b4077d
Kaydet (Commit)
c1b4077d
authored
Kas 02, 2012
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
escape quotes, unescape double escaped quotes fdo#56648
Change-Id: Id4135db2ec40865cddab533da15b2705dc7b73d5
üst
56e40f3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lngmerge.cxx
l10ntools/source/lngmerge.cxx
+4
-2
No files found.
l10ntools/source/lngmerge.cxx
Dosyayı görüntüle @
c1b4077d
...
@@ -264,7 +264,8 @@ sal_Bool LngParser::Merge(
...
@@ -264,7 +264,8 @@ sal_Bool LngParser::Merge(
rtl
::
OString
sText1
(
sLang
);
rtl
::
OString
sText1
(
sLang
);
sText1
+=
" =
\"
"
;
sText1
+=
" =
\"
"
;
sText1
+=
sNewText
;
// escape quotes, unescape double escaped quotes fdo#56648
sText1
+=
sNewText
.
replaceAll
(
"
\"
"
,
"
\\\"
"
).
replaceAll
(
"
\\\\\"
"
,
"
\\\"
"
);
sText1
+=
"
\"
"
;
sText1
+=
"
\"
"
;
*
pLine
=
sText1
;
*
pLine
=
sText1
;
Text
[
sLang
]
=
sNewText
;
Text
[
sLang
]
=
sNewText
;
...
@@ -299,7 +300,8 @@ sal_Bool LngParser::Merge(
...
@@ -299,7 +300,8 @@ sal_Bool LngParser::Merge(
rtl
::
OString
sLine
;
rtl
::
OString
sLine
;
sLine
+=
sCur
;
sLine
+=
sCur
;
sLine
+=
" =
\"
"
;
sLine
+=
" =
\"
"
;
sLine
+=
sNewText
;
// escape quotes, unescape double escaped quotes fdo#56648
sLine
+=
sNewText
.
replaceAll
(
"
\"
"
,
"
\\\"
"
).
replaceAll
(
"
\\\\\"
"
,
"
\\\"
"
);
sLine
+=
"
\"
"
;
sLine
+=
"
\"
"
;
nLastLangPos
++
;
nLastLangPos
++
;
...
...
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