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
6636b2ba
Kaydet (Commit)
6636b2ba
authored
Ara 05, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
no need to call getComposer by reflection
Change-Id: Icf2cdeaab013814b669ce6d6cd243ce43856e940
üst
fa517ab0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
28 deletions
+1
-28
SDBCReportDataFactory.java
...er/java/org/libreoffice/report/SDBCReportDataFactory.java
+1
-28
No files found.
reportbuilder/java/org/libreoffice/report/SDBCReportDataFactory.java
Dosyayı görüntüle @
6636b2ba
...
...
@@ -41,8 +41,6 @@ import com.sun.star.uno.Exception;
import
com.sun.star.uno.UnoRuntime
;
import
com.sun.star.uno.XComponentContext
;
import
java.lang.reflect.Method
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
...
...
@@ -280,32 +278,7 @@ public class SDBCReportDataFactory implements DataSourceFactory
final
String
command
,
final
int
commandType
)
{
final
Class
[]
parameter
=
new
Class
[
2
];
parameter
[
0
]
=
int
.
class
;
parameter
[
1
]
=
String
.
class
;
try
{
final
Object
[]
param
=
new
Object
[
2
];
param
[
0
]
=
commandType
;
param
[
1
]
=
command
;
final
Method
call
=
tools
.
getClass
().
getMethod
(
"getComposer"
,
parameter
);
return
(
XSingleSelectQueryComposer
)
call
.
invoke
(
tools
,
param
);
}
catch
(
NoSuchMethodException
ex
)
{
}
catch
(
IllegalAccessException
ex
)
{
// should not happen
// assert False
}
catch
(
java
.
lang
.
reflect
.
InvocationTargetException
ex
)
{
// should not happen
// assert False
}
return
null
;
return
tools
.
getComposer
(
commandType
,
command
);
}
private
void
fillParameter
(
final
Map
parameters
,
...
...
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