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
cd6b7305
Kaydet (Commit)
cd6b7305
authored
Ara 30, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1326980 SBSC: String concatenation in loop using + operator
Change-Id: I91ae690e26a05dbe4424b7f2ac3bd9ad029ebf5c
üst
66103ac9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dbg.java
qadevOOo/runner/util/dbg.java
+3
-3
No files found.
qadevOOo/runner/util/dbg.java
Dosyayı görüntüle @
cd6b7305
...
@@ -258,15 +258,15 @@ public class dbg {
...
@@ -258,15 +258,15 @@ public class dbg {
public
static
void
getSuppServices
(
Object
aObject
)
{
public
static
void
getSuppServices
(
Object
aObject
)
{
XServiceInfo
xSI
=
UnoRuntime
.
queryInterface
(
XServiceInfo
.
class
,
aObject
);
XServiceInfo
xSI
=
UnoRuntime
.
queryInterface
(
XServiceInfo
.
class
,
aObject
);
printArray
(
xSI
.
getSupportedServiceNames
());
printArray
(
xSI
.
getSupportedServiceNames
());
String
str
=
"Therein not Supported Service"
;
String
Builder
str
=
new
StringBuilder
(
"Therein not Supported Service"
)
;
boolean
notSupportedServices
=
false
;
boolean
notSupportedServices
=
false
;
for
(
int
i
=
0
;
i
<
xSI
.
getSupportedServiceNames
().
length
;
i
++)
{
for
(
int
i
=
0
;
i
<
xSI
.
getSupportedServiceNames
().
length
;
i
++)
{
if
(!
xSI
.
supportsService
(
xSI
.
getSupportedServiceNames
()[
i
]))
{
if
(!
xSI
.
supportsService
(
xSI
.
getSupportedServiceNames
()[
i
]))
{
notSupportedServices
=
true
;
notSupportedServices
=
true
;
str
+=
"\n"
+
xSI
.
getSupportedServiceNames
()[
i
]
;
str
.
append
(
"\n"
).
append
(
xSI
.
getSupportedServiceNames
()[
i
])
;
}
}
}
}
if
(
notSupportedServices
)
if
(
notSupportedServices
)
System
.
out
.
println
(
str
);
System
.
out
.
println
(
str
.
toString
()
);
}
}
}
}
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