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
f21c57c2
Kaydet (Commit)
f21c57c2
authored
May 08, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: -Werror=maybe-uninitialized
Change-Id: Iec05633cf1716079eee54c376bd0736b638673dd
üst
940ac1e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
datapilotfield.cxx
test/source/sheet/datapilotfield.cxx
+5
-5
No files found.
test/source/sheet/datapilotfield.cxx
Dosyayı görüntüle @
f21c57c2
...
...
@@ -50,7 +50,7 @@ void DataPilotField::testSortInfo()
&&
aNewSortInfoValue
.
Mode
==
aSortInfoValue
.
Mode
&&
aNewSortInfoValue
.
IsAscending
==
aSortInfoValue
.
IsAscending
);
//setting HasSortInfo only makes sense for false, for true the uno implementation does nothing
bool
bHasSortInfo
;
bool
bHasSortInfo
(
false
)
;
OUString
aHasSortInfo
(
"HasSortInfo"
);
xValue
=
xPropSet
->
getPropertyValue
(
aHasSortInfo
);
CPPUNIT_ASSERT
(
xValue
>>=
bHasSortInfo
);
...
...
@@ -83,7 +83,7 @@ void DataPilotField::testLayoutInfo()
aNewLayoutInfoValue
.
AddEmptyLines
==
aLayoutInfoValue
.
AddEmptyLines
);
//setting HasLayoutInfo only makes sense for false, tor true the uno implementation does nothing
bool
bHasLayoutInfo
;
bool
bHasLayoutInfo
(
false
)
;
OUString
aHasLayoutInfo
(
"HasLayoutInfo"
);
xValue
=
xPropSet
->
getPropertyValue
(
aHasLayoutInfo
);
CPPUNIT_ASSERT
(
xValue
>>=
bHasLayoutInfo
);
...
...
@@ -116,7 +116,7 @@ void DataPilotField::testAutoShowInfo()
aNewAutoShowInfoValue
.
IsEnabled
==
aAutoShowInfoValue
.
IsEnabled
);
//setting HasLayoutInfo only makes sense for false, tor true the uno implementation does nothing
bool
bHasAutoShowInfo
;
bool
bHasAutoShowInfo
(
false
)
;
OUString
aHasAutoShowInfo
(
"HasAutoShowInfo"
);
xValue
=
xPropSet
->
getPropertyValue
(
aHasAutoShowInfo
);
CPPUNIT_ASSERT
(
xValue
>>=
bHasAutoShowInfo
);
...
...
@@ -149,7 +149,7 @@ void DataPilotField::testReference()
&&
aReferenceValue
.
ReferenceItemType
==
aNewReferenceValue
.
ReferenceItemType
);
//setting HasReference only makes sense for false, tor true the uno implementation does nothing
bool
bHasReference
;
bool
bHasReference
(
false
)
;
OUString
aHasReference
(
"HasReference"
);
xValue
=
xPropSet
->
getPropertyValue
(
aHasReference
);
CPPUNIT_ASSERT
(
xValue
>>=
bHasReference
);
...
...
@@ -169,7 +169,7 @@ void DataPilotField::testIsGroupField()
uno
::
Reference
<
beans
::
XPropertySet
>
xPropSet
(
init
(),
UNO_QUERY_THROW
);
uno
::
Any
xValue
;
OUString
aIsGroupField
(
"IsGroupField"
);
bool
bIsGroupField
;
bool
bIsGroupField
(
false
)
;
xValue
=
xPropSet
->
getPropertyValue
(
aIsGroupField
);
CPPUNIT_ASSERT
(
xValue
>>=
bIsGroupField
);
...
...
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