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
7b8e8e5d
Kaydet (Commit)
7b8e8e5d
authored
Eyl 10, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast
Change-Id: I237ee6cf764d5bca9147e6d5e0bbb1162ece06ac
üst
9e262850
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
vba_compression.cxx
oox/qa/unit/vba_compression.cxx
+14
-14
No files found.
oox/qa/unit/vba_compression.cxx
Dosyayı görüntüle @
7b8e8e5d
...
...
@@ -92,8 +92,8 @@ void TestVbaCompression::testSimple1()
CPPUNIT_ASSERT_EQUAL
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
const
sal_uInt8
*
pReferenceData
=
(
const
sal_uInt8
*
)
aReferenceMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pData
=
(
const
sal_uInt8
*
)
aOutputMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pReferenceData
=
static_cast
<
const
sal_uInt8
*>
(
aReferenceMemoryStream
.
GetData
()
);
const
sal_uInt8
*
pData
=
static_cast
<
const
sal_uInt8
*>
(
aOutputMemoryStream
.
GetData
()
);
size_t
nSize
=
std
::
min
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
...
...
@@ -114,8 +114,8 @@ void TestVbaCompression::testSimple2()
CPPUNIT_ASSERT_EQUAL
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
const
sal_uInt8
*
pReferenceData
=
(
const
sal_uInt8
*
)
aReferenceMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pData
=
(
const
sal_uInt8
*
)
aOutputMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pReferenceData
=
static_cast
<
const
sal_uInt8
*>
(
aReferenceMemoryStream
.
GetData
()
);
const
sal_uInt8
*
pData
=
static_cast
<
const
sal_uInt8
*>
(
aOutputMemoryStream
.
GetData
()
);
size_t
nSize
=
std
::
min
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
...
...
@@ -136,8 +136,8 @@ void TestVbaCompression::testSimple3()
CPPUNIT_ASSERT_EQUAL
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
const
sal_uInt8
*
pReferenceData
=
(
const
sal_uInt8
*
)
aReferenceMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pData
=
(
const
sal_uInt8
*
)
aOutputMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pReferenceData
=
static_cast
<
const
sal_uInt8
*>
(
aReferenceMemoryStream
.
GetData
()
);
const
sal_uInt8
*
pData
=
static_cast
<
const
sal_uInt8
*>
(
aOutputMemoryStream
.
GetData
()
);
size_t
nSize
=
std
::
min
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
...
...
@@ -158,8 +158,8 @@ void TestVbaCompression::testComplex1()
CPPUNIT_ASSERT_EQUAL
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
const
sal_uInt8
*
pReferenceData
=
(
const
sal_uInt8
*
)
aReferenceMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pData
=
(
const
sal_uInt8
*
)
aOutputMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pReferenceData
=
static_cast
<
const
sal_uInt8
*>
(
aReferenceMemoryStream
.
GetData
()
);
const
sal_uInt8
*
pData
=
static_cast
<
const
sal_uInt8
*>
(
aOutputMemoryStream
.
GetData
()
);
size_t
nSize
=
std
::
min
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
...
...
@@ -180,8 +180,8 @@ void TestVbaCompression::testSpec321()
CPPUNIT_ASSERT_EQUAL
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
const
sal_uInt8
*
pReferenceData
=
(
const
sal_uInt8
*
)
aReferenceMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pData
=
(
const
sal_uInt8
*
)
aOutputMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pReferenceData
=
static_cast
<
const
sal_uInt8
*>
(
aReferenceMemoryStream
.
GetData
()
);
const
sal_uInt8
*
pData
=
static_cast
<
const
sal_uInt8
*>
(
aOutputMemoryStream
.
GetData
()
);
size_t
nSize
=
std
::
min
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
...
...
@@ -202,8 +202,8 @@ void TestVbaCompression::testSpec322()
CPPUNIT_ASSERT_EQUAL
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
const
sal_uInt8
*
pReferenceData
=
(
const
sal_uInt8
*
)
aReferenceMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pData
=
(
const
sal_uInt8
*
)
aOutputMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pReferenceData
=
static_cast
<
const
sal_uInt8
*>
(
aReferenceMemoryStream
.
GetData
()
);
const
sal_uInt8
*
pData
=
static_cast
<
const
sal_uInt8
*>
(
aOutputMemoryStream
.
GetData
()
);
size_t
nSize
=
std
::
min
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
...
...
@@ -224,8 +224,8 @@ void TestVbaCompression::testSpec323()
CPPUNIT_ASSERT_EQUAL
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
const
sal_uInt8
*
pReferenceData
=
(
const
sal_uInt8
*
)
aReferenceMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pData
=
(
const
sal_uInt8
*
)
aOutputMemoryStream
.
GetData
(
);
const
sal_uInt8
*
pReferenceData
=
static_cast
<
const
sal_uInt8
*>
(
aReferenceMemoryStream
.
GetData
()
);
const
sal_uInt8
*
pData
=
static_cast
<
const
sal_uInt8
*>
(
aOutputMemoryStream
.
GetData
()
);
size_t
nSize
=
std
::
min
(
aReferenceMemoryStream
.
GetSize
(),
aOutputMemoryStream
.
GetSize
());
...
...
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