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
585b0800
Kaydet (Commit)
585b0800
authored
Ock 24, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
calling loadDoc is simpler.
Change-Id: I6a507825252f316c8106ea4b856bf166a010c15b
üst
08706f37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
subsequent_filters-test.cxx
sc/qa/unit/subsequent_filters-test.cxx
+1
-13
No files found.
sc/qa/unit/subsequent_filters-test.cxx
Dosyayı görüntüle @
585b0800
...
...
@@ -1328,19 +1328,7 @@ void ScFiltersTest::testPasswordOld()
void
ScFiltersTest
::
testControlImport
()
{
const
rtl
::
OUString
aFileNameBase
(
RTL_CONSTASCII_USTRINGPARAM
(
"singlecontrol."
));
rtl
::
OUString
aFileExtension
(
aFileFormats
[
XLSX
].
pName
,
strlen
(
aFileFormats
[
XLSX
].
pName
),
RTL_TEXTENCODING_UTF8
);
rtl
::
OUString
aFilterName
(
aFileFormats
[
XLSX
].
pFilterName
,
strlen
(
aFileFormats
[
XLSX
].
pFilterName
),
RTL_TEXTENCODING_UTF8
)
;
rtl
::
OUString
aFileName
;
createFileURL
(
aFileNameBase
,
aFileExtension
,
aFileName
);
rtl
::
OUString
aFilterType
(
aFileFormats
[
XLSX
].
pTypeName
,
strlen
(
aFileFormats
[
XLSX
].
pTypeName
),
RTL_TEXTENCODING_UTF8
);
std
::
cout
<<
aFileFormats
[
XLSX
].
pName
<<
" Test"
<<
std
::
endl
;
unsigned
int
nFormatType
=
aFileFormats
[
XLSX
].
nFormatType
;
unsigned
int
nClipboardId
=
nFormatType
?
SFX_FILTER_IMPORT
|
SFX_FILTER_USESOPTIONS
:
0
;
ScDocShellRef
xDocSh
=
load
(
aFilterName
,
aFileName
,
rtl
::
OUString
(),
aFilterType
,
nFormatType
,
nClipboardId
,
SOFFICE_FILEFORMAT_CURRENT
);
ScDocShellRef
xDocSh
=
loadDoc
(
"singlecontrol."
,
XLSX
);
CPPUNIT_ASSERT_MESSAGE
(
"Failed to load cell-value.xlsx"
,
xDocSh
.
Is
());
uno
::
Reference
<
frame
::
XModel
>
xModel
=
xDocSh
->
GetModel
();
...
...
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