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
72a3c7a2
Kaydet (Commit)
72a3c7a2
authored
Mar 05, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: CheckFields: oops, forgot to close the document
üst
870e5a8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
CheckFields.java
sw/qa/complex/writer/CheckFields.java
+6
-0
No files found.
sw/qa/complex/writer/CheckFields.java
Dosyayı görüntüle @
72a3c7a2
...
...
@@ -36,6 +36,7 @@ import com.sun.star.lang.XServiceInfo;
import
com.sun.star.beans.XPropertySet
;
import
com.sun.star.beans.PropertyValue
;
import
com.sun.star.container.XEnumeration
;
import
com.sun.star.util.XCloseable
;
import
com.sun.star.text.XText
;
import
com.sun.star.text.XTextContent
;
import
com.sun.star.text.XTextDocument
;
...
...
@@ -138,6 +139,11 @@ public class CheckFields
}
}
assertTrue
(
placeholders
.
isEmpty
());
XCloseable
xClos
=
(
XCloseable
)
UnoRuntime
.
queryInterface
(
XCloseable
.
class
,
xComp
);
if
(
xClos
!=
null
)
{
xClos
.
close
(
true
);
}
}
@Test
...
...
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