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
ed45c878
Kaydet (Commit)
ed45c878
authored
Eki 20, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc: fix temp file leak in ScTableSheetsObj
Change-Id: Iff838c97c1cf633f99e75a169eeb8bb324d4a32a
üst
d7806edc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
xspreadsheets2.cxx
test/source/sheet/xspreadsheets2.cxx
+7
-1
No files found.
test/source/sheet/xspreadsheets2.cxx
Dosyayı görüntüle @
ed45c878
...
...
@@ -30,6 +30,7 @@
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/table/CellVertJustify.hpp>
#include <com/sun/star/util/XCloseable.hpp>
#include <rtl/ustring.hxx>
#include "cppunit/extensions/HelperMacros.h"
...
...
@@ -48,6 +49,11 @@ XSpreadsheets2::XSpreadsheets2():
XSpreadsheets2
::~
XSpreadsheets2
()
{
if
(
xDestDoc
.
is
())
{
uno
::
Reference
<
util
::
XCloseable
>
xCloseable
(
xDestDoc
,
UNO_QUERY_THROW
);
xCloseable
->
close
(
true
);
}
}
void
XSpreadsheets2
::
testImportedSheetNameAndIndex
()
...
...
@@ -302,7 +308,7 @@ void XSpreadsheets2::importSheetToCopy()
uno
::
Reference
<
container
::
XNameAccess
>
xSrcNameAccess
(
init
(),
UNO_QUERY_THROW
);
xSrcSheet
=
uno
::
Reference
<
sheet
::
XSpreadsheet
>
(
xSrcNameAccess
->
getByName
(
aSrcSheetName
),
UNO_QUERY_THROW
);
static
uno
::
Reference
<
lang
::
XComponent
>
xDestComponent
;
uno
::
Reference
<
lang
::
XComponent
>
xDestComponent
;
if
(
!
xDestComponent
.
is
())
{
xDestDoc
=
getDoc
(
aDestFileBase
,
xDestComponent
);
...
...
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