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
10e3e75c
Kaydet (Commit)
10e3e75c
authored
Şub 14, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
small stylistic changes for previous commit
Change-Id: Ied363ca05ee1778b401073321588ac00d9b19634
üst
23159e5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
subsequent_filters-test.cxx
sc/qa/unit/subsequent_filters-test.cxx
+5
-6
No files found.
sc/qa/unit/subsequent_filters-test.cxx
Dosyayı görüntüle @
10e3e75c
...
...
@@ -19,7 +19,6 @@
#include <sfx2/sfxmodelfactory.hxx>
#include <svl/stritem.hxx>
#include <svl/nfkeytab.hxx>
//#include <zformat.hxx>
#include <svl/zformat.hxx>
#include <svx/svdograf.hxx>
...
...
@@ -361,7 +360,7 @@ void ScFiltersTest::testBooleanFormatXLSX()
{
ScDocShellRef
xDocSh
=
loadDoc
(
"check-boolean."
,
XLSX
);
ScDocument
&
rDoc
=
xDocSh
->
GetDocument
();
SvNumberFormatter
*
pNumFormatter
=
rDoc
.
GetFormatTable
();
SvNumberFormatter
*
pNumFormatter
=
rDoc
.
GetFormatTable
();
const
OUString
aBooleanTypeStr
=
"
\"
TRUE
\"
;
\"
TRUE
\"
;
\"
FALSE
\"
"
;
CPPUNIT_ASSERT_MESSAGE
(
"Failed to load check-boolean.xlsx"
,
xDocSh
.
Is
());
...
...
@@ -369,10 +368,10 @@ void ScFiltersTest::testBooleanFormatXLSX()
for
(
SCROW
i
=
0
;
i
<=
1
;
i
++
)
{
rDoc
.
GetNumberFormat
(
0
,
i
,
0
,
nNumberFormat
);
const
SvNumberformat
*
pSvn
umberFormat
=
pNumFormatter
->
GetEntry
(
nNumberFormat
);
const
OUString
&
rFormatStr
=
pSvn
umberFormat
->
GetFormatstring
();
CPPUNIT_ASSERT_
MESSAGE
(
"Number format != boolean"
,
rFormatStr
==
aBooleanTypeStr
);
rDoc
.
GetNumberFormat
(
0
,
i
,
0
,
nNumberFormat
);
const
SvNumberformat
*
pN
umberFormat
=
pNumFormatter
->
GetEntry
(
nNumberFormat
);
const
OUString
&
rFormatStr
=
pN
umberFormat
->
GetFormatstring
();
CPPUNIT_ASSERT_
EQUAL_MESSAGE
(
"Number format != boolean"
,
rFormatStr
,
aBooleanTypeStr
);
}
xDocSh
->
DoClose
();
...
...
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