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
d242d3c2
Kaydet (Commit)
d242d3c2
authored
Ock 31, 2003
tarafından
Stephan Wunderlich
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CHG: using AnyConverter instead of simple cast
üst
1663b2ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
RegistryTypeDescriptionProvider.java
...sts/java/mod/_rdbtdp/RegistryTypeDescriptionProvider.java
+7
-3
No files found.
qadevOOo/tests/java/mod/_rdbtdp/RegistryTypeDescriptionProvider.java
Dosyayı görüntüle @
d242d3c2
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: RegistryTypeDescriptionProvider.java,v $
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
* last change:$Date: 2003-01-
27 18:16:06
$
* last change:$Date: 2003-01-
31 12:52:02
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -68,6 +68,8 @@ import com.sun.star.lang.XMultiServiceFactory;
import
com.sun.star.uno.UnoRuntime
;
import
com.sun.star.uno.XComponentContext
;
import
com.sun.star.uno.XInterface
;
import
com.sun.star.uno.AnyConverter
;
import
com.sun.star.uno.Type
;
import
java.io.PrintWriter
;
import
lib.Status
;
import
lib.StatusException
;
...
...
@@ -138,12 +140,14 @@ public class RegistryTypeDescriptionProvider extends TestCase {
"No TypeDescriptionProvider given"
));
// take the first registry type description provider
oInterface
=
xProviderEnum
.
nextElement
();
oObj
=
(
XInterface
)
AnyConverter
.
toObject
(
new
Type
(
XInterface
.
class
),
oInterface
);
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
log
.
println
(
"Service not available"
);
}
oObj
=
(
XInterface
)
oInterface
;
//
oObj = (XInterface) oInterface;
log
.
println
(
" creating a new environment for object"
);
TestEnvironment
tEnv
=
new
TestEnvironment
(
oObj
);
...
...
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