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
c8509a02
Kaydet (Commit)
c8509a02
authored
Nis 27, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More loplugin:simplifybool
Change-Id: I020627f1747bfa31e60d79954cdb9c8fe0a4e5f2
üst
a390d178
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
xdatabaserange.cxx
test/source/sheet/xdatabaserange.cxx
+2
-2
xsheetannotation.cxx
test/source/sheet/xsheetannotation.cxx
+2
-2
No files found.
test/source/sheet/xdatabaserange.cxx
Dosyayı görüntüle @
c8509a02
...
...
@@ -104,7 +104,7 @@ void XDatabaseRange::testGetSortDescriptor()
{
bool
bCopyOutputData
=
true
;
xProp
.
Value
>>=
bCopyOutputData
;
CPPUNIT_ASSERT
(
bCopyOutputData
==
false
);
CPPUNIT_ASSERT
(
!
bCopyOutputData
);
}
else
if
(
xProp
.
Name
==
"OutputPosition"
)
{
...
...
@@ -114,7 +114,7 @@ void XDatabaseRange::testGetSortDescriptor()
{
bool
bIsUserListEnabled
=
true
;
xProp
.
Value
>>=
bIsUserListEnabled
;
CPPUNIT_ASSERT
(
bIsUserListEnabled
==
false
);
CPPUNIT_ASSERT
(
!
bIsUserListEnabled
);
}
else
if
(
xProp
.
Name
==
"UserListIndex"
)
...
...
test/source/sheet/xsheetannotation.cxx
Dosyayı görüntüle @
c8509a02
...
...
@@ -54,7 +54,7 @@ void XSheetAnnotation::testGetIsVisible()
uno
::
Reference
<
sheet
::
XSheetAnnotation
>
aSheetAnnotation
(
init
(),
UNO_QUERY_THROW
);
bool
isVisible
=
aSheetAnnotation
->
getIsVisible
();
CPPUNIT_ASSERT_MESSAGE
(
"Wrong visible state"
,
isVisible
==
true
);
CPPUNIT_ASSERT_MESSAGE
(
"Wrong visible state"
,
isVisible
);
}
void
XSheetAnnotation
::
testSetIsVisible
()
{
...
...
@@ -62,7 +62,7 @@ void XSheetAnnotation::testSetIsVisible()
aSheetAnnotation
->
setIsVisible
(
false
);
bool
isVisible
=
aSheetAnnotation
->
getIsVisible
();
CPPUNIT_ASSERT_MESSAGE
(
"Visible state not changed"
,
isVisible
==
fals
e
);
CPPUNIT_ASSERT_MESSAGE
(
"Visible state not changed"
,
!
isVisibl
e
);
}
}
...
...
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