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
940c9ef2
Kaydet (Commit)
940c9ef2
authored
Eki 14, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1326405 Dereference null return value
Change-Id: I278c7c2516fde01355abe3030733a5798e1c96c2
üst
9c819f14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
20 deletions
+8
-20
OfficeProvider.java
qadevOOo/runner/helper/OfficeProvider.java
+8
-20
No files found.
qadevOOo/runner/helper/OfficeProvider.java
Dosyayı görüntüle @
940c9ef2
...
...
@@ -88,6 +88,11 @@ public class OfficeProvider implements AppProvider
{
System
.
out
.
println
(
"User Variable '$(user)' not defined."
);
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
System
.
out
.
println
(
"Couldn't backup user layer"
);
e
.
printStackTrace
();
}
catch
(
java
.
io
.
IOException
e
)
{
System
.
out
.
println
(
"Couldn't backup user layer"
);
...
...
@@ -578,28 +583,11 @@ public class OfficeProvider implements AppProvider
return
res
;
}
private
static
XStringSubstitution
createStringSubstitution
(
XMultiServiceFactory
xMSF
)
private
static
XStringSubstitution
createStringSubstitution
(
XMultiServiceFactory
xMSF
)
throws
com
.
sun
.
star
.
uno
.
Exception
{
Object
xPathSubst
=
null
;
try
{
xPathSubst
=
xMSF
.
createInstance
(
Object
xPathSubst
=
xMSF
.
createInstance
(
"com.sun.star.util.PathSubstitution"
);
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
e
.
printStackTrace
();
}
if
(
xPathSubst
!=
null
)
{
return
UnoRuntime
.
queryInterface
(
XStringSubstitution
.
class
,
xPathSubst
);
}
else
{
return
null
;
}
return
UnoRuntime
.
queryInterface
(
XStringSubstitution
.
class
,
xPathSubst
);
}
/**
...
...
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