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
bc9ef22f
Kaydet (Commit)
bc9ef22f
authored
May 27, 2003
tarafından
Vladimir Glazounov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS qadev6 (1.2.2); FILE MERGED
2003/05/21 10:58:58 sg 1.2.2.1: #109819# prepare devide of runner
üst
33a1a31c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
AccessibleEdit.java
qadevOOo/tests/java/mod/_toolkit/AccessibleEdit.java
+7
-6
No files found.
qadevOOo/tests/java/mod/_toolkit/AccessibleEdit.java
Dosyayı görüntüle @
bc9ef22f
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: AccessibleEdit.java,v $
* $RCSfile: AccessibleEdit.java,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Date: 2003-0
4-28 11:21:22
$
* last change: $Date: 2003-0
5-27 13:58:01
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
package
mod
.
_toolkit
;
package
mod
.
_toolkit
;
import
com.sun.star.awt.XWindow
;
import
com.sun.star.awt.XWindow
;
import
com.sun.star.lang.XMultiServiceFactory
;
import
com.sun.star.beans.PropertyValue
;
import
com.sun.star.beans.PropertyValue
;
import
com.sun.star.frame.XController
;
import
com.sun.star.frame.XController
;
import
com.sun.star.frame.XDispatch
;
import
com.sun.star.frame.XDispatch
;
...
@@ -133,10 +134,10 @@ public class AccessibleEdit extends TestCase {
...
@@ -133,10 +134,10 @@ public class AccessibleEdit extends TestCase {
XInterface
oObj
=
null
;
XInterface
oObj
=
null
;
// get a soffice factory object
// get a soffice factory object
SOfficeFactory
SOF
=
SOfficeFactory
.
getFactory
(
Param
.
getMSF
());
SOfficeFactory
SOF
=
SOfficeFactory
.
getFactory
(
(
XMultiServiceFactory
)
Param
.
getMSF
());
try
{
try
{
oObj
=
(
XInterface
)
Param
.
getMSF
(
).
createInstance
oObj
=
(
XInterface
)
((
XMultiServiceFactory
)
Param
.
getMSF
()
).
createInstance
(
"com.sun.star.awt.Toolkit"
)
;
(
"com.sun.star.awt.Toolkit"
)
;
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
log
.
println
(
"Couldn't get toolkit"
);
log
.
println
(
"Couldn't get toolkit"
);
...
@@ -158,7 +159,7 @@ public class AccessibleEdit extends TestCase {
...
@@ -158,7 +159,7 @@ public class AccessibleEdit extends TestCase {
XURLTransformer
urlTransf
=
null
;
XURLTransformer
urlTransf
=
null
;
try
{
try
{
XInterface
transf
=
(
XInterface
)
Param
.
getMSF
(
).
createInstance
XInterface
transf
=
(
XInterface
)
((
XMultiServiceFactory
)
Param
.
getMSF
()
).
createInstance
(
"com.sun.star.util.URLTransformer"
);
(
"com.sun.star.util.URLTransformer"
);
urlTransf
=
(
XURLTransformer
)
UnoRuntime
.
queryInterface
urlTransf
=
(
XURLTransformer
)
UnoRuntime
.
queryInterface
(
XURLTransformer
.
class
,
transf
);
(
XURLTransformer
.
class
,
transf
);
...
@@ -248,7 +249,7 @@ public class AccessibleEdit extends TestCase {
...
@@ -248,7 +249,7 @@ public class AccessibleEdit extends TestCase {
*/
*/
protected
void
initialize
(
TestParameters
Param
,
PrintWriter
log
)
{
protected
void
initialize
(
TestParameters
Param
,
PrintWriter
log
)
{
try
{
try
{
SOfficeFactory
SOF
=
SOfficeFactory
.
getFactory
(
Param
.
getMSF
());
SOfficeFactory
SOF
=
SOfficeFactory
.
getFactory
(
(
XMultiServiceFactory
)
Param
.
getMSF
());
xTextDoc
=
SOF
.
createTextDoc
(
null
);
xTextDoc
=
SOF
.
createTextDoc
(
null
);
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
throw
new
StatusException
(
"Can't create document"
,
e
);
throw
new
StatusException
(
"Can't create document"
,
e
);
...
...
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