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
47a23789
Kaydet (Commit)
47a23789
authored
Haz 17, 2013
tarafından
Zolnai Tamás
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
l10ntools: getLength() -> isEmpty()
Change-Id: I9272c244e22d87fbd2547f4fcb6b94493ffaad3a
üst
5acbffd0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cfgmerge.cxx
l10ntools/source/cfgmerge.cxx
+3
-3
export.cxx
l10ntools/source/export.cxx
+1
-1
No files found.
l10ntools/source/cfgmerge.cxx
Dosyayı görüntüle @
47a23789
...
...
@@ -356,7 +356,7 @@ CfgExport::~CfgExport()
void
CfgExport
::
WorkOnResourceEnd
()
{
if
(
bLocalize
)
{
if
(
pStackData
->
sText
[
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"en-US"
))].
getLength
()
)
if
(
!
pStackData
->
sText
[
"en-US"
].
isEmpty
()
)
{
OString
sXComment
=
pStackData
->
sText
[
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"x-comment"
))];
OString
sLocalId
=
pStackData
->
sIdentifier
;
...
...
@@ -385,7 +385,7 @@ void CfgExport::WorkOnText(
const
OString
&
rIsoLang
)
{
if
(
rIsoLang
.
getLength
()
)
rText
=
helper
::
UnQuotHTML
(
rText
);
if
(
!
rIsoLang
.
isEmpty
()
)
rText
=
helper
::
UnQuotHTML
(
rText
);
}
...
...
@@ -409,7 +409,7 @@ CfgMerge::CfgMerge(
std
::
exit
(
EXIT_FAILURE
);
}
if
(
rMergeSource
.
getLength
())
if
(
!
rMergeSource
.
isEmpty
())
{
pMergeDataFile
=
new
MergeDataFile
(
rMergeSource
,
global
::
inputPathname
,
true
);
...
...
l10ntools/source/export.cxx
Dosyayı görüntüle @
47a23789
...
...
@@ -931,7 +931,7 @@ sal_Bool Export::WriteExportList(ResData *pResData, ExportList *pExportList,
else
{
sGID
+=
"."
;
sGID
+=
pResData
->
sId
;
while
(
sGID
.
getLength
()
!=
0
&&
sGID
[
sGID
.
getLength
()
-
1
]
==
'.'
)
{
while
(
!
sGID
.
isEmpty
()
&&
sGID
[
sGID
.
getLength
()
-
1
]
==
'.'
)
{
sGID
=
sGID
.
copy
(
0
,
sGID
.
getLength
()
-
1
);
}
}
...
...
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